Version 0.9.8-beta
This commit is contained in:
parent
1bf7b7c86e
commit
d1be138400
8 changed files with 13 additions and 11 deletions
|
@ -10,7 +10,7 @@ plugins {
|
|||
id("io.gitlab.arturbosch.detekt") version "1.0.0.RC7"
|
||||
}
|
||||
|
||||
version = "0.9.7-beta"
|
||||
version = "0.9.8-beta"
|
||||
group = "net.thauvin.erik.gradle"
|
||||
|
||||
var github = "https://github.com/ethauvin/semver-gradle"
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
<?xml version="1.0" ?>
|
||||
<SmellBaseline>
|
||||
<Blacklist timestamp="1531335731933"></Blacklist>
|
||||
<Whitelist timestamp="1531335731933">
|
||||
<Whitelist timestamp="1531551182692">
|
||||
<ID>ComplexMethod:SemverPlugin.kt$SemverPlugin.Companion$fun saveProperties(config: SemverConfig, version: Version)</ID>
|
||||
<ID>MaxLineLength:SemverPlugin.kt$net.thauvin.erik.gradle.semver.SemverPlugin.kt</ID>
|
||||
<ID>NestedBlockDepth:SemverPlugin.kt$SemverPlugin$private fun afterEvaluate(project: Project)</ID>
|
||||
<ID>NestedBlockDepth:SemverPlugin.kt$SemverPlugin.Companion$fun saveProperties(config: SemverConfig, version: Version)</ID>
|
||||
</Whitelist>
|
||||
</SmellBaseline>
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.7-beta"
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.8-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
kotlin("jvm") version "1.2.50"
|
||||
application
|
||||
id("org.jetbrains.kotlin.kapt") version "1.2.50"
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.7-beta"
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.8-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.7-beta"
|
||||
id "net.thauvin.erik.gradle.semver" version "0.9.8-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.time.format.DateTimeFormatter
|
|||
plugins {
|
||||
kotlin("jvm") version "1.2.50"
|
||||
application
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.7-beta"
|
||||
id("net.thauvin.erik.gradle.semver") version "0.9.8-beta"
|
||||
}
|
||||
|
||||
// ./gradlew
|
||||
|
|
|
@ -8,7 +8,7 @@ buildscript {
|
|||
mavenLocal()
|
||||
}
|
||||
dependencies {
|
||||
classpath "net.thauvin.erik.gradle:semver:0.9.7-beta"
|
||||
classpath "net.thauvin.erik.gradle:semver:0.9.8-beta"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,11 +60,11 @@ class SemverPlugin : Plugin<Project> {
|
|||
put(config.patchKey, version.patch)
|
||||
put(config.preReleaseKey, version.preRelease)
|
||||
put(config.buildMetaKey, version.buildMeta)
|
||||
if (version.buildMetaPrefix != Version.DEFAULT_BUILDMETA_PREFIX
|
||||
|| containsKey(config.buildMetaPrefixKey))
|
||||
if (version.buildMetaPrefix != Version.DEFAULT_BUILDMETA_PREFIX ||
|
||||
containsKey(config.buildMetaPrefixKey))
|
||||
put(config.buildMetaPrefixKey, version.buildMetaPrefix)
|
||||
if (version.preReleasePrefix != Version.DEFAULT_PRERELEASE_PREFIX
|
||||
|| containsKey(config.preReleasePrefixKey))
|
||||
if (version.preReleasePrefix != Version.DEFAULT_PRERELEASE_PREFIX ||
|
||||
containsKey(config.preReleasePrefixKey))
|
||||
put(config.preReleasePrefixKey, version.preReleasePrefix)
|
||||
if (version.separator != Version.DEFAULT_SEPARATOR || containsKey(config.separatorKey))
|
||||
put(config.separatorKey, version.separator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue