Skip to content

Commit

Permalink
Ignore two more duplicate license-files
Browse files Browse the repository at this point in the history
  • Loading branch information
centic9 committed Oct 7, 2023
1 parent 3c3dbc2 commit 0a728aa
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions poitest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,23 @@ android {
}
packagingOptions {
resources {
pickFirsts += ['META-INF/DEPENDENCIES.txt', 'META-INF/LICENSE.txt', 'META-INF/NOTICE.txt', 'META-INF/NOTICE', 'META-INF/LICENSE', 'META-INF/DEPENDENCIES', 'META-INF/notice.txt', 'META-INF/license.txt', 'META-INF/dependencies.txt', 'META-INF/LGPL2.1']
pickFirsts += [
'META-INF/DEPENDENCIES.txt',
'META-INF/LICENSE.txt',
'META-INF/LICENSE.md',
'META-INF/LICENSE-notice.md',
'META-INF/NOTICE.txt',
'META-INF/NOTICE',
'META-INF/LICENSE',
'META-INF/DEPENDENCIES',
'META-INF/notice.txt',
'META-INF/license.txt',
'META-INF/dependencies.txt',
'META-INF/LGPL2.1'
]
}
}


// error about duplicates if some of these are not excluded
lint {
abortOnError false
Expand Down

0 comments on commit 0a728aa

Please sign in to comment.