Skip to content

Commit

Permalink
Update to latest syntax for packagingOptions. (#6647)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynewstrom-stripe authored May 2, 2023
1 parent 03127dd commit 9e65354
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion build-configuration/android-application.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ android {
}

packagingOptions {
exclude 'LICENSE.txt'
resources {
excludes += ['LICENSE.txt']
}
}
}
5 changes: 3 additions & 2 deletions stripecardscan/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ android {
}

packagingOptions {
pickFirst 'META-INF/AL2.0'
pickFirst 'META-INF/LGPL2.1'
resources {
pickFirsts += ['META-INF/AL2.0', 'META-INF/LGPL2.1']
}
}
lint {
disable 'UnrememberedMutableState'
Expand Down

0 comments on commit 9e65354

Please sign in to comment.