Skip to content

Commit

Permalink
Exclude license files from test apk
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Oct 14, 2020
1 parent 0965945 commit c41edd7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions glide/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ android {
checkReleaseBuilds false
}

packagingOptions {
// Exclude license files to enable our test APK to build (has no effect on our AARs)
excludes += "/META-INF/AL2.0"
excludes += "/META-INF/LGPL2.1"
}

testOptions {
unitTests {
includeAndroidResources = true
Expand Down

0 comments on commit c41edd7

Please sign in to comment.