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 {
2019-03-04 22:49:18 +08:00
ext.kotlin_version = '1.3.20'
2017-10-30 01:05:11 +08:00
repositories {
google()
2017-10-30 01:05:11 +08:00
jcenter()
}
dependencies {
2019-03-04 22:49:18 +08:00
classpath 'com.android.tools.build:gradle:3.3.1'
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
}