Cleanup.
This commit is contained in:
parent
e97c13fc4c
commit
d5705c57aa
1 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ plugins {
|
||||||
id("maven-publish")
|
id("maven-publish")
|
||||||
id("net.thauvin.erik.gradle.semver") version "1.0.4"
|
id("net.thauvin.erik.gradle.semver") version "1.0.4"
|
||||||
id("org.jetbrains.dokka") version "1.4.32"
|
id("org.jetbrains.dokka") version "1.4.32"
|
||||||
id("org.sonarqube") version "3.2.0"
|
id("org.sonarqube") version "3.3"
|
||||||
id("signing")
|
id("signing")
|
||||||
kotlin("jvm") version "1.5.10"
|
kotlin("jvm") version "1.5.10"
|
||||||
kotlin("kapt") version "1.5.10"
|
kotlin("kapt") version "1.5.10"
|
||||||
|
@ -160,10 +160,10 @@ tasks {
|
||||||
register("deploy") {
|
register("deploy") {
|
||||||
description = "Copies all needed files to the $deployDir directory."
|
description = "Copies all needed files to the $deployDir directory."
|
||||||
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
||||||
dependsOn("build", "jar")
|
dependsOn(build, jar)
|
||||||
outputs.dir(deployDir)
|
outputs.dir(deployDir)
|
||||||
inputs.files(copyToDeploy)
|
inputs.files(copyToDeploy)
|
||||||
mustRunAfter("clean")
|
mustRunAfter(clean)
|
||||||
}
|
}
|
||||||
|
|
||||||
val gitIsDirty by registering(Exec::class) {
|
val gitIsDirty by registering(Exec::class) {
|
||||||
|
@ -184,11 +184,11 @@ tasks {
|
||||||
register("release") {
|
register("release") {
|
||||||
description = "Publishes version ${project.version} to local repository."
|
description = "Publishes version ${project.version} to local repository."
|
||||||
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
||||||
dependsOn("wrapper", "deploy", "gitTag", "publishToMavenLocal")
|
dependsOn(wrapper, "deploy", gitTag, publishToMavenLocal)
|
||||||
}
|
}
|
||||||
|
|
||||||
"sonarqube" {
|
"sonarqube" {
|
||||||
dependsOn("jacocoTestReport")
|
dependsOn(jacocoTestReport)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue