-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
80 lines (61 loc) · 2.23 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
plugins {
id 'com.android.application'
id 'kotlin-parcelize'
id 'org.jetbrains.kotlin.android'
}
apply plugin: 'kotlin-kapt'
apply from : '../common.gradle'
android {
namespace 'com.quiet.onlytv'
defaultConfig {
applicationId 'com.quiet.onlytv'
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding = true
}
packagingOptions {
// 剔除这个包下的所有文件(不会移除签名信息)
exclude 'META-INF/*******'
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
api 'androidx.appcompat:appcompat:1.6.1'
api 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'androidx.lifecycle:lifecycle-process:2.4.1'
implementation project(path: ':base')
//分包
implementation 'androidx.multidex:multidex:2.0.1'
//Glide
implementation 'com.github.bumptech.glide:glide:4.16.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
//timber https://github.com/JakeWharton/timber
implementation 'com.jakewharton.timber:timber:5.0.1'
// 指示器框架:https://github.com/ongakuer/CircleIndicator
implementation 'me.relex:circleindicator:2.1.6'
//Glide 高斯模糊 https://github.com/wasabeef/glide-transformations
implementation 'jp.wasabeef:glide-transformations:4.3.0'
//media3 https://developer.android.com/guide/topics/media/exoplayer
def version = "1.1.1"
implementation "androidx.media3:media3-exoplayer:$version"
implementation "androidx.media3:media3-exoplayer-dash:$version"
implementation "androidx.media3:media3-ui:$version"
}