Unverified Commit 1eee14ca authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Simplify Gradle magic (#18987)

parent 2a65505e
......@@ -18,14 +18,6 @@ allprojects {
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/android_gen"
}
subprojects {
project.evaluationDependsOn(':flutter')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
......@@ -17,3 +17,13 @@ plugins.each { name, path ->
gradle.include ":$name"
gradle.project(":$name").projectDir = pluginDirectory
}
gradle.getGradle().projectsLoaded { g ->
g.rootProject.afterEvaluate { p ->
p.subprojects { sp ->
if (sp.name != 'flutter') {
sp.evaluationDependsOn(':flutter')
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment