Fixed klinkCheck errors.
This commit is contained in:
parent
a112b73d53
commit
642066b7ea
2 changed files with 2 additions and 3 deletions
|
@ -38,8 +38,8 @@ import javax.inject.Inject
|
||||||
open class SemverIncrementTask @Inject constructor(
|
open class SemverIncrementTask @Inject constructor(
|
||||||
private val config: SemverConfig,
|
private val config: SemverConfig,
|
||||||
private val version: Version,
|
private val version: Version,
|
||||||
private val type: String)
|
private val type: String
|
||||||
: DefaultTask() {
|
) : DefaultTask() {
|
||||||
init {
|
init {
|
||||||
group = "version"
|
group = "version"
|
||||||
description = "Increments ${type.capitalize()} version number."
|
description = "Increments ${type.capitalize()} version number."
|
||||||
|
|
|
@ -43,7 +43,6 @@ class SemverPlugin : Plugin<Project> {
|
||||||
private var version = Version()
|
private var version = Version()
|
||||||
private lateinit var config: SemverConfig
|
private lateinit var config: SemverConfig
|
||||||
|
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
fun saveProperties(config: SemverConfig, version: Version) {
|
fun saveProperties(config: SemverConfig, version: Version) {
|
||||||
Properties().apply {
|
Properties().apply {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue