Setup project versions

Build parameters (with corresponding project properties):
- build.number (buildNumber) - build number from build server, goes into manifest, by default snapshot
- deployVersion (kotlinVersion, project.version) - version of artifacts, by default build.number
- bootstrap.kotlin.version (bootstrapKotlinVersion) - version of bootstrap compiler
This commit is contained in:
Ilya Gorbunov
2017-09-16 07:43:42 +03:00
committed by Ilya Chernikov
parent df04efcf14
commit 678caa5676
9 changed files with 32 additions and 28 deletions
+2 -2
View File
@@ -77,13 +77,13 @@ ext.manifestAttributes = { Manifest manifest, Project project, String component
attributes \
'Implementation-Vendor': 'JetBrains',
'Implementation-Title': project.archivesBaseName,
'Implementation-Version': project.version,
'Implementation-Version': project.buildNumber,
'Build-Jdk': System.getProperty('java.version')
if (component != null) {
attributes \
'Kotlin-Runtime-Component': component,
'Kotlin-Version': project.kotlin_language_version
'Kotlin-Version': project.kotlinLanguageVersion
}
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ configure([project(':kotlin-gradle-plugin'), project(':kotlin-allopen'), project
}
publishPlugins.doFirst {
assert !kotlin_version.contains('SNAPSHOT')
assert !kotlinVersion.contains('SNAPSHOT')
}
pluginBundle {
+1 -1
View File
@@ -26,7 +26,7 @@ configure([project(':kotlin-gradle-plugin'), project(':kotlin-allopen'), project
}
publishPlugins.doFirst {
assert !kotlin_version.contains('SNAPSHOT')
assert !kotlinVersion.contains('SNAPSHOT')
}
pluginBundle {
@@ -5,7 +5,7 @@ sourceSets {
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib:$bootstrapKotlinVersion"
}
compileKotlin {
@@ -3,7 +3,7 @@ description = 'Merge utility for Kotlin Standard Library for JS'
apply plugin: 'kotlin'
dependencies {
compile "org.jetbrains.kotlin:kotlin-compiler:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-compiler:$bootstrapKotlinVersion"
}
sourceSets {