-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathbuild.gradle
99 lines (79 loc) · 2.5 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
apply from: '../versions.gradle'
apply plugin: 'com.android.application'
//Crashlytics
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
//Crashlytics end
android {
namespace "com.fgl27.twitch"
compileSdk 35
buildFeatures {
buildConfig = true
}
defaultConfig {
applicationId "com.fgl27.twitch"
minSdkVersion 21
targetSdkVersion 35
compileSdk 35
versionCode versions.publishVersionCode
versionName versions.publishVersion + versions.publishVersionCode
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles = [
getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
]
}
debug {
applicationIdSuffix ".debug"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled true
}
productFlavors {
}
lint {
abortOnError false
disable 'SetJavaScriptEnabled', 'GoogleAppIndexingWarning', 'IconMissingDensityFolder', 'IconLauncherShape', 'RtlHardcoded', 'ObsoleteLintCustomCheck'
lintConfig file('lint.xml')
}
dependenciesInfo {
includeInApk false
includeInBundle false
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
}
repositories {
mavenCentral()
}
dependencies {
//Exoplayer
implementation project(':media3-lib-exoplayer')
implementation project(':media3-lib-ui')
implementation project(':media3-lib-exoplayer-hls')
//implementation project(':media-lib-decoder-av1')
//Crashlytics
implementation platform('com.google.firebase:firebase-bom:33.8.0')
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-crashlytics'
//Crashlytics end
implementation 'androidx.leanback:leanback:1.0.0'
implementation 'androidx.webkit:webkit:1.12.1'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.github.GCX-HCI:tray:v0.12.0'
implementation 'androidx.tvprovider:tvprovider:1.0.0'
// coreLibraryDesugaringEnabled
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
}