diff --git a/sample-deps-javac/build.gradle.kts b/sample-deps-javac/build.gradle.kts index 61103b8..0bc0dcd 100644 --- a/sample-deps-javac/build.gradle.kts +++ b/sample-deps-javac/build.gradle.kts @@ -30,7 +30,7 @@ android { } buildTypes { - getByName("release") { + release { isMinifyEnabled = false proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } diff --git a/sample-deps-kapt/build.gradle.kts b/sample-deps-kapt/build.gradle.kts index badea0a..a5532af 100644 --- a/sample-deps-kapt/build.gradle.kts +++ b/sample-deps-kapt/build.gradle.kts @@ -32,7 +32,7 @@ android { } buildTypes { - getByName("release") { + release { isMinifyEnabled = false proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } diff --git a/sample-deps-ksp/build.gradle.kts b/sample-deps-ksp/build.gradle.kts index a4fa8c7..21bc585 100644 --- a/sample-deps-ksp/build.gradle.kts +++ b/sample-deps-ksp/build.gradle.kts @@ -33,23 +33,7 @@ android { } buildTypes { - getByName("debug") { - sourceSets { - getByName("debug") { - java.srcDir(File("build/generated/ksp/debug/java")) - java.srcDir(File("build/generated/ksp/debug/kotlin")) - } - } - } - - getByName("release") { - sourceSets { - getByName("release") { - java.srcDir(File("build/generated/ksp/release/java")) - java.srcDir(File("build/generated/ksp/release/kotlin")) - } - } - + release { isMinifyEnabled = false proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } diff --git a/sample/build.gradle.kts b/sample/build.gradle.kts index ac63dce..e626621 100644 --- a/sample/build.gradle.kts +++ b/sample/build.gradle.kts @@ -36,7 +36,7 @@ android { } buildTypes { - getByName("release") { + release { isMinifyEnabled = false proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") }