This commit is contained in:
Erik C. Thauvin 2021-06-11 20:07:35 -07:00
parent 4bf4a7ec09
commit 4c4f7da0da
4 changed files with 18 additions and 6 deletions

View file

@ -13,7 +13,7 @@ plugins {
id("java-library")
id("maven-publish")
id("org.jetbrains.dokka") version "1.4.32"
id("org.sonarqube") version "3.2.0"
id("org.sonarqube") version "3.3"
id("signing")
kotlin("jvm") version "1.5.10"
}
@ -141,20 +141,20 @@ tasks {
register("deploy") {
description = "Copies all needed files to the $deployDir directory."
group = PublishingPlugin.PUBLISH_TASK_GROUP
dependsOn("build", "jar")
dependsOn(build, jar)
outputs.dir(deployDir)
inputs.files(copyToDeploy)
mustRunAfter("clean")
mustRunAfter(clean)
}
register("release") {
description = "Publishes version ${project.version} to local repository."
group = PublishingPlugin.PUBLISH_TASK_GROUP
dependsOn("wrapper", "deploy", "gitTag", "publishToMavenLocal")
dependsOn(wrapper, "deploy", gitTag, publishToMavenLocal)
}
"sonarqube" {
dependsOn("jacocoTestReport")
dependsOn(jacocoTestReport)
}
}