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

@ -3,8 +3,6 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 28
dataBinding.enabled = true
defaultConfig {
applicationId "org.petero.cuckoochess"
minSdkVersion 14
@ -35,10 +33,18 @@ android {
}
}
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
buildFeatures {
dataBinding true
}
}
dependencies {

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)
}
}

View File

@ -3,11 +3,10 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath 'com.android.tools.build:gradle:4.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@ -17,7 +16,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

View File

@ -1,6 +1,6 @@
#Fri Mar 08 22:53:49 CET 2019
#Sun Jun 06 01:35:48 CEST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
zipStoreBase=GRADLE_USER_HOME