[build] Create a root task for gradle-plugin uploading

This commit is contained in:
Ilya Matveev
2017-12-29 18:15:17 +07:00
committed by ilmat192
parent 6d4b15867b
commit 3b7d16c70e
3 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
### Move version up in the repository ###
* Increment `konanVersion` in topmost `gradle.properties`.
* Increment `konanVersion` in topmost `gradle.properties` and in `KonanVersion.kt`
* Create entry for new release in CHANGELOG.md file (consult git history for features included)
* Update RELEASE_NOTES.md with actual information on the released bits
@@ -41,7 +41,7 @@ in few minutes after upload.
Upload Gradle plugin to BinTray
BINTRAY_USER=... BINTRAY_KEY=... ./gradlew :tools:kotlin-native-gradle-plugin:bintrayUpload
BINTRAY_USER=... BINTRAY_KEY=... ./gradlew :uploadGradlePlugin
### Blog post ###
+8 -2
View File
@@ -150,12 +150,18 @@ class PlatformInfo {
}
}
// TODO: Add a task for gradle plugin uploading
// TODO: And fix release readme: add info about compiler version and about new gradle-plugin uploading task
task sharedJar {
dependsOn gradle.includedBuild('shared').task(':jar')
}
task gradlePluginJar {
dependsOn gradle.includedBuild('kotlin-native-gradle-plugin').task(':shadowJar')
}
task uploadGradlePlugin {
dependsOn gradle.includedBuild('kotlin-native-gradle-plugin').task(':bintrayUpload')
}
task dist_compiler(dependsOn: "distCompiler")
task dist_runtime(dependsOn: "distRuntime")
task cross_dist(dependsOn: "crossDist")
-4
View File
@@ -18,10 +18,6 @@ buildscript {
}
repositories {
maven {
//TODO: this path should be removed!!
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url kotlinCompilerRepo
}