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
}
}
}