Change to compileOnly.

Change-Id: I90bdaf34b73c6769ca6faf25ac753feabc5ee909
pull/2106/head
Jaehwa Noh 3 days ago
parent b8d0bf7fb5
commit 9d5622a620

@ -47,7 +47,7 @@ abstract class AndroidApplicationConventionPlugin : Plugin<Project> {
configureSpotlessForAndroid()
dependencies {
"implementation"(project(":lint"))
"compileOnly"(project(":lint"))
}
}
}

@ -55,7 +55,7 @@ abstract class AndroidLibraryConventionPlugin : Plugin<Project> {
}
configureSpotlessForAndroid()
dependencies {
if (project.path != ":lint") "implementation"(project(":lint"))
if (project.path != ":lint") "compileOnly"(project(":lint"))
"implementation"(libs.findLibrary("androidx.tracing.ktx").get())
"testImplementation"(libs.findLibrary("kotlin.test").get())

Loading…
Cancel
Save