Skip to content

Commit c8f1062

Browse files
author
danny
committed
readded build steps
1 parent 5412758 commit c8f1062

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

macless_haystack/android/build.gradle

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,21 @@ allprojects {
33
google()
44
mavenCentral()
55
}
6-
plugins.withId("com.android.application") {
7-
android {
8-
compileSdkVersion 36
9-
}
10-
}
11-
plugins.withId("com.android.library") {
12-
android {
13-
compileSdkVersion 36
14-
}
15-
}
166
}
177

188
rootProject.buildDir = '../build'
199
subprojects {
2010
project.buildDir = "${rootProject.buildDir}/${project.name}"
2111
}
2212
subprojects {
13+
afterEvaluate { project ->
14+
if (project.plugins.hasPlugin("com.android.application") ||
15+
project.plugins.hasPlugin("com.android.library")) {
16+
project.android {
17+
compileSdkVersion 36
18+
}
19+
}
20+
}
2321
project.evaluationDependsOn(':app')
2422
}
2523

0 commit comments

Comments
 (0)