0.10.0 #16

Merged
altavir merged 17 commits from dev into master 2021-06-19 14:12:34 +03:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit c5b8c688a2 - Show all commits

View File

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
### Changed
- API validation disabled for dev versions
### Deprecated

View File

@ -83,6 +83,8 @@ open class KScienceProjectPlugin : Plugin<Project> {
override fun apply(target: Project): Unit = target.run {
apply<ChangelogPlugin>()
if (!isSnapshot()) {
configure<ChangelogPluginExtension> {
version = project.version.toString()
@ -92,6 +94,12 @@ open class KScienceProjectPlugin : Plugin<Project> {
apply<DokkaPlugin>()
apply<BinaryCompatibilityValidatorPlugin>()
if (isSnapshot()) {
configure<ApiValidationExtension> {
validationDisabled = true
}
}
val rootReadmeExtension = KScienceReadmeExtension(this)
extensions.add("ksciencePublish", KSciencePublishingExtension(this))
extensions.add("readme", rootReadmeExtension)