Skip to content

Commit

Permalink
Avoid task name duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky authored and qwwdfsad committed Aug 24, 2020
1 parent a09df3d commit f06a56b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/kotlinx-coroutines-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ val unOptimizedDexDir = File(buildDir, "dex-unoptim/")
val optimizedDexFile = File(optimizedDexDir, "classes.dex")
val unOptimizedDexFile = File(unOptimizedDexDir, "classes.dex")

val runR8 = tasks.register<RunR8>("runR8") {
val runR8 by tasks.registering(RunR8::class) {
outputDex = optimizedDexDir
inputConfig = file("testdata/r8-test-rules.pro")

dependsOn("jar")
}

val runR8NoOptim = tasks.register<RunR8>("runR8NoOptim") {
val runR8NoOptim by tasks.registering(RunR8::class) {
outputDex = unOptimizedDexDir
inputConfig = file("testdata/r8-test-rules-no-optim.pro")

Expand Down

0 comments on commit f06a56b

Please sign in to comment.