1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/mobile/android/build.gradle

40 lines
821 B
Groovy
Raw Normal View History

2022-02-03 18:06:44 +02:00
allprojects {
ext.kotlin_version = '1.9.24'
2022-02-03 18:06:44 +02:00
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
2022-02-03 18:06:44 +02:00
subprojects {
// fix for verifyReleaseResources
// ============
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 34
buildToolsVersion "34.0.0"
}
}
}
// ============
2022-02-03 18:06:44 +02:00
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
2022-02-03 18:06:44 +02:00
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
2022-02-03 18:06:44 +02:00
delete rootProject.buildDir
}
tasks.named('wrapper') {
distributionType = Wrapper.DistributionType.ALL
}