codec2_talkie/build.gradle

42 wiersze
1.2 KiB
Groovy
Czysty Zwykły widok Historia

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 {
//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
}
}
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 {
maven { url 'https://jitpack.io' }
2020-11-28 14:47:52 +00:00
google()
jcenter()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
}
2020-11-28 14:47:52 +00:00
}
task clean(type: Delete) {
delete rootProject.buildDir
}