-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (40 loc) · 1.03 KB
/
build.gradle
File metadata and controls
48 lines (40 loc) · 1.03 KB
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
buildscript {
ext.kotlin_version = '2.0.0'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
project.ext.meta = [:]
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
rootProject.extensions.sdks = [
'CompileSDK': 34,
'MinSDK' : 21,
'TargetSDK' : 34,
'ABIs' : ["armeabi-v7a", "arm64-v8a"],
'ndkVersion': "27.2.12479018"
]
rootProject.extensions.dependencies = [
'fastjson': 'com.alibaba:fastjson:1.2.73',
]
rootProject.extensions.externalNativeCmake = [
'cppFlags' : "-ffunction-sections -fdata-sections",
'arguments': ["-DANDROID_STL=c++_static"]
]
rootProject.extensions.compileOptions = [
'targetCompatibility': 11,
'sourceCompatibility': 11
]