-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
174 lines (140 loc) · 6.21 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
id 'com.google.firebase.firebase-perf'
id 'com.google.firebase.appdistribution'
id 'kotlin-android'
}
android {
lint {
// Turns off checks for the issue IDs you specify.
disable 'TypographyFractions','TypographyQuotes'
// Turns on checks for the issue IDs you specify. These checks are in
// addition to the default lint checks.
enable 'RtlHardcoded','RtlCompat', 'RtlEnabled'
// To enable checks for only a subset of issue IDs and ignore all others,
// list the issue IDs with the 'check' property instead. This property overrides
// any issue IDs you enable or disable using the properties above.
checkOnly 'NewApi', 'InlinedApi'
// If set to true, turns off analysis progress reporting by lint.
quiet true
// If set to true (default), stops the build if errors are found.
abortOnError false
// If true, only report errors.
ignoreWarnings true
// If true, lint also checks all dependencies as part of its analysis. Recommended for
// projects consisting of an app with library dependencies.
checkDependencies true
}
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android {
signingConfigs {
debug {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
}
}
// Other configurations...
}
compileSdkVersion 32
buildToolsVersion '33.0.2'
defaultConfig {
applicationId 'com.data.fzplayer'
minSdk 21
targetSdk 32
versionName '1.0.0-beta'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.debug
versionCode 1
proguardFiles
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
buildFeatures {
viewBinding true
}
dependenciesInfo {
includeInApk false
includeInBundle false
}
ndkVersion '25.2.9519653'
namespace 'com.data.fzplayer'
/*
//these are used for custom layout creations
sourceSets {
main {
res.srcDirs =
[
'src/main/res/layout/fzplayer',
'src/main/res/layout',
'src/main/res'
]
}
}
*/
}
dependencies {
// This dependency is downloaded from the Google’s Maven repository.
// So, make sure you also include that repository in your project's build.gradle file.
implementation 'com.google.android.play:review:2.0.1'
// For Kotlin users also add the Kotlin extensions library for Play In-App Review:
implementation 'com.google.android.play:review-ktx:2.0.1'
//youtube library
implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:12.1.0'
implementation 'com.github.TutorialsAndroid:FilePicker:v8.0.19'
// kotlin support
implementation 'androidx.core:core-ktx:1.10.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.9.0"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation platform('com.google.firebase:firebase-bom:32.2.2')
implementation 'com.google.firebase:firebase-perf'
implementation 'com.google.android.material:material:1.7.0-alpha01'
implementation 'com.github.hajiyevelnur92:intentanimation:1.0' //IntentAnimation Library
implementation "com.makeramen:roundedimageview:2.3.0" //RoundImageView Library
implementation 'com.github.TutorialsAndroid:FilePicker:v8.0.19'
implementation 'com.google.android.exoplayer:exoplayer-core:2.19.0'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.19.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.19.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.exoplayer:exoplayer:2.19.0'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'com.github.bumptech.glide:glide:4.12.0'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'com.google.firebase:firebase-analytics:20.1.2'
implementation 'com.google.firebase:firebase-crashlytics:18.2.10'
implementation 'androidx.preference:preference:1.2.0'
implementation 'androidx.navigation:navigation-fragment:2.7.0'
implementation 'androidx.navigation:navigation-ui:2.7.2'
implementation 'com.google.firebase:firebase-perf:20.4.0'
implementation 'com.google.firebase:firebase-messaging:23.2.1'
implementation 'com.google.firebase:firebase-messaging-ktx:23.2.1'
implementation 'com.google.firebase:firebase-analytics-ktx:21.1.0'
implementation 'com.google.firebase:firebase-perf-ktx:20.1.0'
implementation 'com.google.firebase:firebase-crashlytics-ktx:18.4.0'
implementation 'com.google.firebase:firebase-firestore:24.8.0'
testImplementation 'junit:junit:+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
//if using java 8,ignore above line and add the following line
implementation "androidx.lifecycle:lifecycle-common-java8:2.6.1"
implementation 'androidx.media:media:1.6.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
}
apply plugin: 'com.google.firebase.firebase-perf'