Skip to content

Commit

Permalink
Fix gradle task dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbrooks committed Jun 29, 2024
1 parent c25e05b commit 3eb02b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vgo/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jlleitschuh.gradle.ktlint.tasks.KtLintCheckTask
import org.jlleitschuh.gradle.ktlint.tasks.KtLintFormatTask
import java.io.PrintWriter
import java.nio.file.Files
import java.nio.file.Paths
Expand Down Expand Up @@ -93,6 +95,14 @@ tasks {
}
}

withType<KtLintCheckTask>().configureEach {
mustRunAfter(generateConstants)
}

withType<KtLintFormatTask>().configureEach {
mustRunAfter(generateConstants)
}

val optimize by registering(JavaExec::class) {
description = "Runs proguard on the jar application."
group = "build"
Expand Down

0 comments on commit 3eb02b1

Please sign in to comment.