[repo] KGP: more fine-grained AGP dependency
Removed unneeded transitive dependencies
This commit is contained in:
committed by
Space Team
parent
e2801c366b
commit
8c8f1718b9
@@ -54,8 +54,25 @@ dependencies {
|
||||
commonCompileOnly(project(":kotlin-scripting-compiler"))
|
||||
commonCompileOnly(project(":kotlin-gradle-statistics"))
|
||||
commonCompileOnly(project(":kotlin-gradle-build-metrics"))
|
||||
commonCompileOnly("com.android.tools.build:gradle:4.2.2")
|
||||
commonCompileOnly("com.android.tools.build:gradle-api:4.2.2")
|
||||
commonCompileOnly("com.android.tools.build:gradle:4.2.2") {
|
||||
exclude("org.ow2.asm")
|
||||
exclude("net.sf.proguard")
|
||||
exclude("net.sf.jopt-simple")
|
||||
exclude("com.squareup")
|
||||
exclude("com.google.crypto.tink")
|
||||
exclude("com.google.guava")
|
||||
exclude("com.google.protobuf")
|
||||
exclude("com.google.testing.platform")
|
||||
exclude("com.android.tools.lint")
|
||||
exclude("androidx.databinding")
|
||||
exclude("com.android.tools.analytics-library")
|
||||
exclude("com.android.tools.build.jetifier")
|
||||
exclude("com.android.tools.build", "transform-api")
|
||||
exclude("com.android.tools.build", "builder-test-api")
|
||||
exclude("com.android.tools.build", "bundletool")
|
||||
exclude("com.android.tools.build", "aaptcompiler")
|
||||
exclude("com.android.tools.build", "aapt2-proto")
|
||||
}
|
||||
commonCompileOnly(intellijCore())
|
||||
commonCompileOnly(commonDependency("org.jetbrains.teamcity:serviceMessages"))
|
||||
commonCompileOnly("com.gradle:gradle-enterprise-gradle-plugin:3.12.4")
|
||||
|
||||
Reference in New Issue
Block a user