mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-13 01:22:41 +01:00
Update build tools
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user