-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuild.gradle
52 lines (43 loc) · 1.12 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
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24'
}
}
subprojects {
afterEvaluate { proj ->
if (proj.hasProperty('android')) {
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
if (proj.hasProperty('kotlin')) {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
}
ndkVersion '21.4.7075529'
}
}
}
}
allprojects {
repositories {
google()
mavenCentral()
}
ext {
// configure versions used by dependencies to harmonize and update easily across all components
// Android SDK
compileSdk = 34
minSdk = 21
targetSdk = 34
// Android libraries
appcompatVersion = '1.7.0'
}
}