Skip to content

Commit

Permalink
fix: avoid double-including src when excludeAppGlideModule = true
Browse files Browse the repository at this point in the history
  • Loading branch information
kibiz0r committed Nov 11, 2024
1 parent 7272562 commit fb8cb0d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@ android {
sourceSets {
main {
java {
if (safeExtGet('excludeAppGlideModule', false)) {
srcDir "src"
exclude "**/FastImageGlideModule.java"
}
if (isNewArchitectureEnabled()) {
srcDirs += [
if (isNewArchitectureEnabled()) {
srcDirs += [
"src/newarch",
]
}
Expand All @@ -59,6 +55,9 @@ android {
"src/oldarch",
]
}
if (safeExtGet('excludeAppGlideModule', false)) {
exclude "**/FastImageGlideModule.java"
}
}
}
}
Expand Down

0 comments on commit fb8cb0d

Please sign in to comment.