native_updater/example/android/build.gradle

32 lines
592 B
Groovy
Raw Normal View History

2022-10-04 15:43:14 +07:00
buildscript {
2022-10-04 18:20:11 +07:00
ext.kotlin_version = '1.6.10'
2022-10-04 15:43:14 +07:00
repositories {
google()
2022-10-04 18:20:11 +07:00
mavenCentral()
2022-10-04 15:43:14 +07:00
}
dependencies {
2022-10-04 18:20:11 +07:00
classpath 'com.android.tools.build:gradle:7.1.2'
2022-10-04 15:43:14 +07:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
2022-10-04 18:20:11 +07:00
mavenCentral()
2022-10-04 15:43:14 +07:00
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}