Skip to content

Commit

Permalink
Update build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
likppi10 committed Aug 28, 2023
1 parent db68f83 commit 4c0bfb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ tasks.register("clean", type = Delete::class) {
rootProject.buildDir.delete()
}

tasks.register("bundleAABRelease", type = Exec::class) {
commandLine("./gradlew bundle")
workingDir = project.rootDir
tasks.register("bundleRelease", type = Exec::class) {
commandLine(project.rootDir.resolve("gradlew"), "bundle")
workingDir = project.rootDir
}

tasks.register("release") {
dependsOn(tasks["clean"])
dependsOn(tasks["bundleAABRelease"])
dependsOn(tasks["bundleRelease"])
mustRunAfter(tasks["clean"])
}

0 comments on commit 4c0bfb7

Please sign in to comment.