0.10.0 #16

Merged
altavir merged 17 commits from dev into master 2021-06-19 14:12:34 +03:00
Showing only changes of commit ddbb128692 - Show all commits

View File

@ -87,20 +87,18 @@ open class KScienceProjectPlugin : Plugin<Project> {
override fun apply(target: Project): Unit = target.run { override fun apply(target: Project): Unit = target.run {
apply<ChangelogPlugin>() apply<ChangelogPlugin>()
if (!isSnapshot()) {
configure<ChangelogPluginExtension> {
version = project.version.toString()
}
}
apply<DokkaPlugin>() apply<DokkaPlugin>()
apply<BinaryCompatibilityValidatorPlugin>() apply<BinaryCompatibilityValidatorPlugin>()
if (isSnapshot()) { afterEvaluate {
configure<ApiValidationExtension> { if (isSnapshot()) {
validationDisabled = true configure<ApiValidationExtension> {
validationDisabled = true
}
} else {
configure<ChangelogPluginExtension> {
version = project.version.toString()
}
} }
} }