Fladder/android/build.gradle
PartyDonut 758e369839
Android - Added separation for development/production builds (#43)
## Pull Request Description

Added a development build to so it's easier to develop alongside the
current release (Android only atm)

## Issue Being Fixed

Developing removing the actually installed fladder app

Issue Number: N/A

## Checklist

- [ ] If a new package was added, did you ensure it works for all
supported platforms? Is the package also well maintained?
- [ ] Did you add localization for any text? If yes, did you sort the
.arb file using ```arb_utils sort <INPUT_FILE>```?
- [ ] Check that any changes are related to the issue at hand.

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
2024-10-18 18:33:02 +02:00

37 lines
759 B
Groovy

allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
buildscript {
ext.kotlin_version = '1.8.0'
}
//[Fixes AAPT: error: resource android:attr/lStar not found]
subprojects {
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 34
buildToolsVersion "34.0.0"
}
}
}
}
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}