kopia lustrzana https://github.com/sh123/codec2_talkie
42 wiersze
1.2 KiB
Groovy
42 wiersze
1.2 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
//classpath "com.android.tools.build:gradle:4.1.1"
|
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
ext.buildConfigProperties = new Properties()
|
|
ext.buildConfigProperties.load(new FileInputStream(project.file("buildconfig.default.properties")))
|
|
if(project.file("buildconfig.local.properties").exists()) {
|
|
ext.buildConfigProperties.load(new FileInputStream(project.file("buildconfig.local.properties")))
|
|
}
|
|
|
|
ext.ABI_FILTERS = ext.buildConfigProperties["abi.filters"]
|
|
|
|
group = "com.radio.codec2"
|
|
version = "1.0"
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven { url 'https://jitpack.io' }
|
|
google()
|
|
jcenter()
|
|
}
|
|
gradle.projectsEvaluated {
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << "-Xlint:deprecation"
|
|
}
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |