This repository was archived by the owner on May 3, 2022. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
- stage : build
14
14
script : ./gradlew build
15
15
- stage : snapshot
16
- script : ./gradlew artifactoryPublish --exclude-task test -Dsnapshot=true - Dbintray.user=${BINTRAY_USER} -Dbintray.key=${BINTRAY_KEY} -Dbuild.number=${TRAVIS_BUILD_NUMBER}
16
+ script : ./gradlew artifactoryPublish --exclude-task test -Dbintray.user=${BINTRAY_USER} -Dbintray.key=${BINTRAY_KEY} -Dbuild.number=${TRAVIS_BUILD_NUMBER}
17
17
- stage : release
18
- script : ./gradlew bintrayUpload --exclude-task test -Dbintray.user=${BINTRAY_USER} -Dbintray.key=${BINTRAY_KEY} -Dbuild.number=${TRAVIS_BUILD_NUMBER}
18
+ script : ./gradlew bintrayUpload --exclude-task test -Drelease=true - Dbintray.user=${BINTRAY_USER} -Dbintray.key=${BINTRAY_KEY} -Dbuild.number=${TRAVIS_BUILD_NUMBER}
19
19
20
20
deploy :
21
21
provider : releases
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
8
8
}
9
9
10
10
group = ' de.hhu.bsinfo'
11
- version = ' 0.2.0' + (Boolean . valueOf(System . getProperty(" snapshot " )) ? " -SNAPSHOT " : " " )
11
+ version = ' 0.2.0' + (Boolean . valueOf(System . getProperty(' release ' )) ? ' ' : ' -SNAPSHOT ' )
12
12
13
13
sourceCompatibility = 1.8
14
14
targetCompatibility = 1.8
@@ -45,7 +45,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
45
45
46
46
dependencies {
47
47
implementation files(Jvm . current(). toolsJar)
48
- implementation ' de.hhu.bsinfo:dxutils:0.5.0-SNAPSHOT'
48
+ implementation ' de.hhu.bsinfo:dxutils:0.5.0' + ( Boolean . valueOf( System . getProperty( ' release ' )) ? ' ' : ' -SNAPSHOT' )
49
49
50
50
testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
51
51
}
You can’t perform that action at this time.
0 commit comments