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
fd8d51ac
Commit
fd8d51ac
authored
11 years ago
by
Nikolaus Krismer
Browse files
Options
Downloads
Patches
Plain Diff
increased version number
fixed problems with cargo deploy
parent
c8fa4e80
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.gradle
+8
-4
8 additions, 4 deletions
build.gradle
with
8 additions
and
4 deletions
build.gradle
+
8
−
4
View file @
fd8d51ac
...
@@ -20,7 +20,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
...
@@ -20,7 +20,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
// Basic settings
// Basic settings
group
=
'it.unibz.inf.isochrone'
group
=
'it.unibz.inf.isochrone'
version
=
'0.2.
2
-SNAPSHOT'
version
=
'0.2.
3
-SNAPSHOT'
description
=
'PhD project of Nikolaus Krismer'
description
=
'PhD project of Nikolaus Krismer'
sourceCompatibility
=
1.7
sourceCompatibility
=
1.7
...
@@ -72,9 +72,15 @@ gradle.taskGraph.whenReady {taskGraph ->
...
@@ -72,9 +72,15 @@ gradle.taskGraph.whenReady {taskGraph ->
if
(
version
.
endsWith
(
'-SNAPSHOT'
))
{
if
(
version
.
endsWith
(
'-SNAPSHOT'
))
{
println
"Building SNAPSHOT version $version"
println
"Building SNAPSHOT version $version"
cargo
.
deployable
{
context
=
'testing'
}
}
else
{
}
else
{
isRelease
=
true
;
isRelease
=
true
;
println
"Building RELEASE version $version"
println
"Building RELEASE version $version"
cargo
.
deployable
{
context
=
'isochrone'
}
}
}
}
}
...
@@ -150,9 +156,7 @@ cargo {
...
@@ -150,9 +156,7 @@ cargo {
containerId
=
cargoContainer
containerId
=
cargoContainer
port
=
cargoPort
as
int
port
=
cargoPort
as
int
deployable
{
// deployable part is set by versioning above
context
=
"${isRelease ? 'isochrone' : 'testing'}"
}
remote
{
remote
{
hostname
=
cargoHostname
hostname
=
cargoHostname
...
...
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