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 {
73
73
kapt { arguments { arg(" eventBusIndex" , " com.itsaky.androidide.events.AppEventsIndex" ) } }
74
74
75
75
dependencies {
76
-
77
76
debugImplementation(libs.common.leakcanary)
78
77
79
78
// Annotation processors
@@ -188,8 +187,15 @@ fun getEnvOrProp(key: String): String? {
188
187
}
189
188
190
189
afterEvaluate {
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