build: update AGP

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-14 17:33:30 +05:30
parent 9f88bf15ab
commit 7afff19fce
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 13 additions and 11 deletions

View file

@ -38,7 +38,7 @@ internal fun Project.configureForAllProjects() {
repositories {
google()
mavenCentral()
jcenter() {
jcenter {
content {
// Indirect dependencies
// https://youtrack.jetbrains.com/issue/IDEA-261387
@ -102,14 +102,16 @@ internal fun TestedExtension.configureCommonAndroidOptions() {
targetSdkVersion(30)
}
packagingOptions {
exclude("**/*.version")
exclude("**/*.txt")
exclude("**/*.kotlin_module")
exclude("**/plugin.properties")
exclude("META-INF/AL2.0")
exclude("META-INF/LGPL2.1")
}
packagingOptions.resources.excludes.addAll(
setOf(
"**/*.version",
"**/*.txt",
"**/*.kotlin_module",
"**/plugin.properties",
"META-INF/AL2.0",
"META-INF/LGPL2.1"
)
)
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11