init
This commit is contained in:
53
filcnaplo/android/build.gradle
Normal file
53
filcnaplo/android/build.gradle
Normal file
@@ -0,0 +1,53 @@
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.50'
|
||||
|
||||
ext {
|
||||
compileSdkVersion = 30
|
||||
targetSdkVersion = 30
|
||||
appCompatVersion = "1.1.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
// allprojects {
|
||||
// repositories {
|
||||
// google()
|
||||
// jcenter()
|
||||
// maven {
|
||||
// // [required] background_fetch
|
||||
// url "${project(':background_fetch').projectDir}/libs"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
subprojects {
|
||||
afterEvaluate {project ->
|
||||
if (project.plugins.hasPlugin('android') || project.plugins.hasPlugin('android-library')) {
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion '30.0.3'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.buildDir = '../build'
|
||||
subprojects {
|
||||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||||
}
|
||||
subprojects {
|
||||
project.evaluationDependsOn(':app')
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
Reference in New Issue
Block a user