Skip to content

Commit ba5e5da

Browse files
committed
Support 'DeployVersion' property to override projects version
1 parent 8fc0075 commit ba5e5da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
allprojects {
22
group = 'org.jetbrains.kotlinx'
3+
def deployVersion = properties['DeployVersion']
4+
if (deployVersion != null) version = deployVersion
35
}
46

57
buildscript {
@@ -191,6 +193,10 @@ configure(subprojects.findAll { !unpublished.contains(it.name) }) {
191193
}
192194
}
193195
}
196+
197+
bintrayUpload.doLast {
198+
println("Uploaded $project.name version $project.version")
199+
}
194200
}
195201

196202
configure(subprojects.findAll { !unpublished.contains(it.name) && it.name != 'kotlinx-coroutines-core' }) {

0 commit comments

Comments
 (0)