Stephan Schroeder
08/02/2019, 1:04 PMimport pl.allegro.tech.build.axion.release.domain.TagNameSerializationConfig
plugins {
id("pl.allegro.tech.build.axion-release") version "1.9.4"
}
scmVersion {
tag(delegateClosureOf<TagNameSerializationConfig> {
prefix = "my-project-name"
})
}
allprojects {
repositories {
jcenter()
}
}
subprojects {
version = scmVersion.version
}
but running the build-script still leads to Extension with name 'scmVersion' does not exist.
but only for the line version = scmVersion.version
not for the scmVersion-block. The whole script is basically the kotlinDSL-version of the axion-release multiproject-docu https://axion-release-plugin.readthedocs.io/en/latest/configuration/basic_usage/#multi-module-project