summaryrefslogtreecommitdiff
path: root/android/build.gradle.kts
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2025-12-08 20:12:09 -0500
committerMica White <botahamec@outlook.com>2025-12-08 20:12:09 -0500
commit7c8b5676fecffe5468810b703c579acb6a5fd256 (patch)
tree0c4ff107dfd012a4d03500f41f3607aff1d52616 /android/build.gradle.kts
First commit
Diffstat (limited to 'android/build.gradle.kts')
-rwxr-xr-xandroid/build.gradle.kts24
1 files changed, 24 insertions, 0 deletions
diff --git a/android/build.gradle.kts b/android/build.gradle.kts
new file mode 100755
index 0000000..1f88145
--- /dev/null
+++ b/android/build.gradle.kts
@@ -0,0 +1,24 @@
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+val newBuildDir: Directory =
+ rootProject.layout.buildDirectory
+ .dir("../../build")
+ .get()
+rootProject.layout.buildDirectory.value(newBuildDir)
+
+subprojects {
+ val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
+ project.layout.buildDirectory.value(newSubprojectBuildDir)
+}
+subprojects {
+ project.evaluationDependsOn(":app")
+}
+
+tasks.register<Delete>("clean") {
+ delete(rootProject.layout.buildDirectory)
+}