mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 01:45:05 +08:00
bbdac9d1ba
- forcing the stem string template generator to be cachable, without this the templates are regenerated causing the vector module to recompile its sources (our slowest task!)
27 lines
537 B
Groovy
27 lines
537 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
id 'com.likethesalad.stem-library'
|
|
}
|
|
|
|
android {
|
|
compileSdk versions.compileSdk
|
|
defaultConfig {
|
|
minSdk versions.minSdk
|
|
targetSdk versions.targetSdk
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility versions.sourceCompat
|
|
targetCompatibility versions.targetCompat
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
tasks.withType( com.likethesalad.android.templates.common.tasks.BaseTask) {
|
|
it.outputs.cacheIf { true }
|
|
}
|