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,19 +14,14 @@ subprojects {
|
|||
}
|
||||
|
||||
subprojects { project ->
|
||||
def setCompileSdk = {
|
||||
if (project.name != 'app') {
|
||||
project.afterEvaluate {
|
||||
if (project.hasProperty('android')) {
|
||||
project.android {
|
||||
compileSdkVersion 35
|
||||
}
|
||||
}
|
||||
}
|
||||
if (project.state.executed) {
|
||||
setCompileSdk()
|
||||
} else {
|
||||
project.afterEvaluate {
|
||||
setCompileSdk()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue