Skip to content

Commit

Permalink
Remove manual KSP source sets specification
Browse files Browse the repository at this point in the history
  • Loading branch information
mars885 committed Aug 21, 2024
1 parent 37387c5 commit d9e92c2
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions sample-deps-ksp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit d9e92c2

Please sign in to comment.