mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
2942072594
The upgraded compile SDK requires an upgrade of gradle, which introduces a build error with api lvl <21: > Error while processing [...]/app/src/main/res/drawable/ic_close_24dp.xml : Invalid color value ?attr/colorControlNormal Explanation: https://stackoverflow.com/a/49501629 Also minor NDK update
31 lines
812 B
Groovy
31 lines
812 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext {
|
|
// Cannot be called "ndkVersion" as that leads to naming collision
|
|
// Changes to this value must be reflected in `./docker/Dockerfile`
|
|
ndkVersionShared = '23.2.8568313'
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:7.3.1'
|
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.36.0'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|