kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Update build.gradle
updates workaround to use `named` and `dependsOn`pull/1756/head
rodzic
7691830035
commit
2a8ec4fdcc
|
@ -135,8 +135,8 @@ androidComponents {
|
|||
onVariants(selector().all(), { variant ->
|
||||
afterEvaluate {
|
||||
def capName = variant.name.capitalize()
|
||||
tasks.getByName("ksp${capName}Kotlin") {
|
||||
setSource(tasks.getByName("generate${capName}Proto").outputs)
|
||||
tasks.named("ksp${capName}Kotlin") {
|
||||
dependsOn("generate${capName}Proto")
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Ładowanie…
Reference in New Issue