[build] Create a root task for gradle-plugin uploading
This commit is contained in:
+2
-2
@@ -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
@@ -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")
|
||||
|
||||
@@ -18,10 +18,6 @@ buildscript {
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
//TODO: this path should be removed!!
|
||||
url "https://oss.sonatype.org/content/repositories/snapshots"
|
||||
}
|
||||
maven {
|
||||
url kotlinCompilerRepo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user