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.
31 lines
542 B
31 lines
542 B
6 months ago
|
buildscript {
|
||
|
ext.kotlin_version = '1.7.10'
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
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
|
||
|
}
|