mirror of
https://gitlab.com/Zer0interrupt/recipe-manager.git
synced 2026-11-01 23:24:11 -05:00
Apply compileSdkVersion 35 strictly to non-app plugin subprojects
This commit is contained in:
parent
96357fd4be
commit
e2b9f0d9ba
1 changed files with 6 additions and 11 deletions
|
|
@ -14,18 +14,13 @@ subprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects { project ->
|
subprojects { project ->
|
||||||
def setCompileSdk = {
|
if (project.name != 'app') {
|
||||||
if (project.hasProperty('android')) {
|
|
||||||
project.android {
|
|
||||||
compileSdkVersion 35
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (project.state.executed) {
|
|
||||||
setCompileSdk()
|
|
||||||
} else {
|
|
||||||
project.afterEvaluate {
|
project.afterEvaluate {
|
||||||
setCompileSdk()
|
if (project.hasProperty('android')) {
|
||||||
|
project.android {
|
||||||
|
compileSdkVersion 35
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue