flutter_barcode_reader/example/android/build.gradle

35 lines
680 B
Groovy
Raw Normal View History

2017-10-30 01:05:11 +08:00
buildscript {
ext.kotlin_version = '1.2.41'
2017-10-30 01:05:11 +08:00
repositories {
google()
2017-10-30 01:05:11 +08:00
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2017-10-30 01:05:11 +08:00
}
}
allprojects {
repositories {
google()
2017-10-30 01:05:11 +08:00
jcenter()
maven {
url "https://maven.google.com" // Google's Maven repository
2017-10-30 01:05:11 +08:00
}
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
2017-10-30 01:05:11 +08:00
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}