Skip to content

Commit 74d09c6

Browse files
committed
Minor fixes
Signed-off-by: Alex Saveau <[email protected]>
1 parent 6776cf7 commit 74d09c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fun Project.configureQuality() {
133133
tasks.named("check").configure { dependsOn("checkstyle") }
134134

135135
tasks.register<Checkstyle>("checkstyle") {
136-
configFile = file("$configDir/checkstyle.xml")
136+
configFile = file("${project.configDir}/checkstyle.xml")
137137
source("src")
138138
include("**/*.java")
139139
exclude("**/gen/**")
@@ -327,8 +327,8 @@ fun Project.setupPublishing() {
327327

328328
tasks.matching {
329329
it.name.contains("publish") && it.name.contains("publication", true)
330-
}.forEach {
331-
it.dependsOn("assembleRelease")
330+
}.configureEach {
331+
dependsOn("assembleRelease")
332332
}
333333

334334
val bintrayUsername = properties["bintrayUser"] as String?

0 commit comments

Comments
 (0)