Update build tools

This commit is contained in:
Peter Osterlund
2021-06-06 02:26:55 +02:00
parent 457cc1db37
commit fe7a8fac11
4 changed files with 23 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "org.petero.droidfish"
minSdkVersion 16
@@ -51,7 +52,9 @@ android {
targetCompatibility = '1.8'
}
dataBinding.enabled = true
buildFeatures {
dataBinding true
}
}
dependencies {
@@ -85,3 +88,9 @@ task copyToAssets(type: Copy, dependsOn: 'externalNativeBuildRelease') {
tasks.withType(JavaCompile) {
t -> t.dependsOn copyToAssets
}
android {
applicationVariants.all { variant ->
tasks["merge${variant.name.capitalize()}Assets"]
.dependsOn(copyToAssets)
}
}