-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
54 lines (47 loc) · 1.34 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Copyright (c) 2021 2bllw8
* SPDX-License-Identifier: GPL-3.0-only
*/
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
dependencies {
classpath libs.android.gradle.plugin
classpath libs.kotlin.gradle.plugin
}
}
plugins {
// Existing plugins
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.android.application) apply false
alias(libs.plugins.org.jetbrains.kotlin.android) apply false
}
allprojects {
repositories {
mavenCentral()
google()
}
}
tasks.register('clean', Delete) {
delete rootProject.getLayout().getBuildDirectory()
}
final Properties localProps = new Properties()
if (file('local.properties').exists()) {
localProps.load(file('local.properties').newDataInputStream())
}
ext {
minSdkVersion = 26
targetSdkVersion = 34
sourceCompatibilityVersion = JavaVersion.VERSION_17
targetCompatibilityVersion = JavaVersion.VERSION_17
keyStoreFile = localProps.getProperty('androidStoreFile')
if (keyStoreFile != null && keyStoreFile != '') {
keyStoreFile = file(keyStoreFile)
}
keyStorePassword = localProps.getProperty('androidStorePassword')
keyAlias = localProps.getProperty('androidKeyAlias')
keyPassword = localProps.getProperty('androidKeyPassword')
}