Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isochrone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institut für Informatik
dbis
dbis-isochrone
isochrone
Commits
2c2af7e4
Commit
2c2af7e4
authored
11 years ago
by
Nikolaus Krismer
Browse files
Options
Downloads
Patches
Plain Diff
some minor whitespace formatting
parent
1dcf97d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.gradle
+19
-19
19 additions, 19 deletions
build.gradle
with
19 additions
and
19 deletions
build.gradle
+
19
−
19
View file @
2c2af7e4
...
...
@@ -20,9 +20,9 @@ version = '0.2-SNAPSHOT'
description
=
'PhD project of Nikolaus Krismer'
def
getDate
()
{
def
date
=
new
Date
()
def
formattedDate
=
date
.
format
(
'yyyyMMdd'
)
return
formattedDate
def
date
=
new
Date
()
def
formattedDate
=
date
.
format
(
'yyyyMMdd'
)
return
formattedDate
}
ext
{
...
...
@@ -183,8 +183,8 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
}
task
jsDoc
(
type:
com
.
eriwen
.
gradle
.
js
.
tasks
.
JsDocTask
)
{
source
=
fileTree
(
dir:
'src/main/webapp/js'
,
include:
'**/*.js'
,
excludes:
[
'**/*.min.js'
,
'lib/**'
])
destinationDir
=
file
(
"${buildDir}/docs/jsdoc"
)
source
=
fileTree
(
dir:
'src/main/webapp/js'
,
include:
'**/*.js'
,
excludes:
[
'**/*.min.js'
,
'lib/**'
])
destinationDir
=
file
(
"${buildDir}/docs/jsdoc"
)
}
tasks
.
jsDoc
.
dependsOn
tasks
.
processResources
...
...
@@ -193,9 +193,9 @@ task jsHint(type:com.eriwen.gradle.js.tasks.JsHintTask) {
jshint
.
options
=
[
browser:
true
,
expr:
true
,
jquery:
true
,
latedef:
'nofunc'
,
quotmark:
'single'
,
unused:
true
,
undef:
true
,
wsh:
true
]
jshint
.
predef
=
[
'$'
:
false
,
'define'
:
false
,
'google'
:
false
,
'require'
:
false
]
source
=
fileTree
(
dir:
'src/main/webapp/js'
,
include:
'**/*.js'
,
exclude:
[
'**/*.min.js'
,
'lib/**'
])
dest
=
file
(
"${buildDir}/reports/jshint/main.xml"
)
reporter
=
'checkstyle'
source
=
fileTree
(
dir:
'src/main/webapp/js'
,
include:
'**/*.js'
,
exclude:
[
'**/*.min.js'
,
'lib/**'
])
dest
=
file
(
"${buildDir}/reports/jshint/main.xml"
)
reporter
=
'checkstyle'
}
tasks
.
jsHint
.
dependsOn
tasks
.
processResources
...
...
@@ -230,12 +230,12 @@ task vagrantExport(type: Zip) {
from
'etc/vagrant'
appendix
=
''
baseName
=
'vagrantbox'
classifier
=
''
version
=
getDate
()
baseName
=
'vagrantbox'
classifier
=
''
version
=
getDate
()
filter
(
FixCrLfFilter
)
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'myUser'
,
db_password:
'myPassword'
])
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'myUser'
,
db_password:
'myPassword'
])
}
task
vagrantPrepare
<<
{
...
...
@@ -250,7 +250,7 @@ task vagrantPrepare << {
into
vagrantDir
filter
(
FixCrLfFilter
)
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'niko'
,
db_password:
'secretPhdPassword#2014!'
])
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'niko'
,
db_password:
'secretPhdPassword#2014!'
])
}
}
}
...
...
@@ -259,12 +259,12 @@ vagrantUp.dependsOn(vagrantPrepare)
// See: http://stackoverflow.com/questions/12836089/why-is-eclipse-not-attaching-3rd-party-libs-source-files-to-a-wtp-faceted-gradle
eclipse
.
classpath
.
file
{
// Classpath entry for Eclipse which changes the order of classpathentries; otherwise no sources for 3rd party jars are shown
withXml
{
xml
->
def
node
=
xml
.
asNode
()
node
.
remove
(
node
.
find
{
it
.
@path
==
'org.eclipse.jst.j2ee.internal.web.container'
}
)
node
.
appendNode
(
'classpathentry'
,
[
kind:
'con'
,
path:
'org.eclipse.jst.j2ee.internal.web.container'
,
exported:
'true'
])
}
// Classpath entry for Eclipse which changes the order of classpathentries; otherwise no sources for 3rd party jars are shown
withXml
{
xml
->
def
node
=
xml
.
asNode
()
node
.
remove
(
node
.
find
{
it
.
@path
==
'org.eclipse.jst.j2ee.internal.web.container'
}
)
node
.
appendNode
(
'classpathentry'
,
[
kind:
'con'
,
path:
'org.eclipse.jst.j2ee.internal.web.container'
,
exported:
'true'
])
}
}
task
jarAll
(
dependsOn:
[
jar
,
javadocJar
,
sourcesJar
,
staticJar
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment