Skip to content

Commit f06a56b

Browse files
turanskyqwwdfsad
authored andcommitted
Avoid task name duplication
1 parent a09df3d commit f06a56b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/kotlinx-coroutines-android/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ val unOptimizedDexDir = File(buildDir, "dex-unoptim/")
2727
val optimizedDexFile = File(optimizedDexDir, "classes.dex")
2828
val unOptimizedDexFile = File(unOptimizedDexDir, "classes.dex")
2929

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

3434
dependsOn("jar")
3535
}
3636

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

0 commit comments

Comments
 (0)