This repository was archived by the owner on Oct 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ android {
7373kapt { arguments { arg(" eventBusIndex" , " com.itsaky.androidide.events.AppEventsIndex" ) } }
7474
7575dependencies {
76-
7776 debugImplementation(libs.common.leakcanary)
7877
7978 // Annotation processors
@@ -188,8 +187,15 @@ fun getEnvOrProp(key: String): String? {
188187}
189188
190189afterEvaluate {
191- tasks.getByName(" mergeDebugAssets" ).dependsOn(" :subprojects:tooling-api-impl:copyJarToAssets" )
192- tasks.getByName(" mergeReleaseAssets" ).dependsOn(" :subprojects:tooling-api-impl:copyJarToAssets" )
193- tasks.getByName(" lintAnalyzeDebug" ).dependsOn(" :subprojects:tooling-api-impl:copyJarToAssets" )
194- tasks.getByName(" lintAnalyzeRelease" ).dependsOn(" :subprojects:tooling-api-impl:copyJarToAssets" )
195- }
190+ val dependents =
191+ listOf (
192+ " mergeDebugAssets" ,
193+ " mergeReleaseAssets" ,
194+ " lintAnalyzeDebug" ,
195+ " lintAnalyzeRelease" ,
196+ " lintVitalAnalyzeRelease"
197+ )
198+ for (dependent in dependents) {
199+ tasks.getByName(dependent).dependsOn(" :subprojects:tooling-api-impl:copyJarToAssets" )
200+ }
201+ }
You can’t perform that action at this time.
0 commit comments