File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,13 @@ allprojects {
3434 buildToolsVersion= ' 27.0.3'
3535 supportLibraryVersion= ' 27.1.1'
3636 okhttpVersion= ' 3.10.0'
37+
38+ sdkVersion + = project. getProperties(). get(" versionSuffix" , " " )
3739 }
3840}
3941
42+
43+
4044task clean (type : Delete ) {
4145 delete rootProject. buildDir
4246}
Original file line number Diff line number Diff line change 22
33echo " Uploading SNAPSHOT to maven repository..."
44
5- rm -rf build/maven-releases
65rm -rf build/maven-snapshots
76rm -rf maven-repository
87
9- ./gradlew clean uploadArchives
8+ ./gradlew clean uploadArchives -PversionSuffix=-SNAPSHOT
109
1110if [ -d " build/maven-snapshots" ]; then
1211 git clone --depth 1 -b snapshots
[email protected] :snabble/maven-repository.git maven-repository
1312fi
1413
1514cd maven-repository
1615
17- cp -r ../build/maven-releases/* . 2> /dev/null
1816cp -r ../build/maven-snapshots/* . 2> /dev/null
1917
2018git add *
You can’t perform that action at this time.
0 commit comments