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:
committed by
Ilya Chernikov
parent
df04efcf14
commit
678caa5676
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user