mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
599 B
32 lines
599 B
2 years ago
|
buildscript {
|
||
|
ext.kotlin_version = '1.7.10'
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:7.3.0'
|
||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
rootProject.buildDir = '../build'
|
||
|
subprojects {
|
||
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||
|
}
|
||
|
subprojects {
|
||
|
project.evaluationDependsOn(':app')
|
||
|
}
|
||
|
|
||
|
tasks.register("clean", Delete) {
|
||
|
delete rootProject.buildDir
|
||
|
}
|