preparePublication task requires project version to be set
This commit is contained in:
@@ -10,13 +10,13 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
apply from: 'commonConfiguration.gradle'
|
||||
|
||||
allprojects {
|
||||
group = 'org.jetbrains.kotlin'
|
||||
version = "$kotlin_version"
|
||||
}
|
||||
|
||||
apply from: 'commonConfiguration.gradle'
|
||||
|
||||
subprojects {
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -56,6 +56,7 @@ ext.manifestAttributes = { Manifest manifest, Project project, String component
|
||||
|
||||
task preparePublication {
|
||||
def properties = project.properties
|
||||
assert project.version != 'unspecified'
|
||||
|
||||
Map<String, String> repositoryProviders = ['sonatype-nexus-staging' : 'sonatype', 'sonatype-nexus-snapshots' : 'sonatype']
|
||||
project.ext.isRelease = !project.version.toString().contains('-SNAPSHOT')
|
||||
|
||||
@@ -10,13 +10,13 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
apply from: "${kotlin_root}/libraries/commonConfiguration.gradle"
|
||||
|
||||
allprojects {
|
||||
group = 'org.jetbrains.kotlin'
|
||||
version = "$kotlin_version"
|
||||
}
|
||||
|
||||
apply from: "${kotlin_root}/libraries/commonConfiguration.gradle"
|
||||
|
||||
subprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
Reference in New Issue
Block a user