forked from GhostenEditor/Ghosten-Player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (31 loc) · 870 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
allprojects {
repositories {
google()
mavenCentral()
}
}
// FIX flutter plugin install_plugin for Flutter 3.24
subprojects {
afterEvaluate { project ->
if (project.group == "com.example.installplugin" || project.group == "io.flutter.plugins.webview_cookie_manager") {
project.android {
compileSdkVersion = 35
namespace = project.group
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
}
}
}
rootProject.buildDir = "../build"
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}