2020-11-28 14:47:52 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2020-12-05 16:46:15 +00:00
|
|
|
//classpath "com.android.tools.build:gradle:4.1.1"
|
|
|
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
2020-11-28 14:47:52 +00:00
|
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-05 16:46:15 +00:00
|
|
|
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"
|
|
|
|
|
2020-11-28 14:47:52 +00:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2020-12-07 13:44:08 +00:00
|
|
|
maven { url 'https://jitpack.io' }
|
2020-11-28 14:47:52 +00:00
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
}
|
2020-11-29 18:02:34 +00:00
|
|
|
gradle.projectsEvaluated {
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.compilerArgs << "-Xlint:deprecation"
|
|
|
|
}
|
|
|
|
}
|
2020-11-28 14:47:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|