build.gradle
1.52 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
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.apaas.bigscreem"
minSdk 28
targetSdk 32
versionCode 1
versionName "1.0"
}
signingConfigs {
config {
storeFile file('./AppSignature.jks')
storePassword '123456'
keyAlias 'study'
keyPassword '123456'
v1SigningEnabled true
v2SigningEnabled true
}
release {
storeFile file('./AppSignature.jks')
storePassword '123456'
keyAlias 'study'
keyPassword '123456'
v1SigningEnabled true
v2SigningEnabled false
}
}
buildTypes {
release {
debuggable false
jniDebuggable false
// 压缩对齐开关
zipAlignEnabled true
// 签名信息配置
signingConfig signingConfigs.release
// 添加清单占位符
addManifestPlaceholders([
'app_name': '@string/app_name'
])
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.leanback:leanback:1.0.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'androidx.browser:browser:1.3.0'
}