-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
119 lines (108 loc) · 4.13 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
buildscript {
//APP
ext.is_developer_build = true
ext.appCompileSDK = 35
ext.appBuildTools = "35.0.0"
ext.appNdk = "28.0.12674087"
ext.appMinSDK = is_developer_build ? 29 : 26
ext.appTargetSDK = 31
ext.appFenrirVersionCode = 999
ext.appFenrirVersionName = "2.999"
ext.appFileGalleryVersionCode = 999
ext.appFileGalleryVersionName = "1.999"
//androidx libraries
ext.activityVersion = "1.10.0-rc01"
ext.annotationVersion = "1.9.1"
ext.appcompatVersion = "1.7.0"
ext.biometricVersion = "1.4.0-alpha02"
ext.browserVersion = "1.8.0"
ext.cardviewVersion = "1.0.0"
ext.collectionVersion = "1.5.0-beta01"
ext.concurentVersion = "1.2.0"
ext.constraintlayoutVersion = "2.2.0"
ext.coordinatorlayoutVersion = "1.3.0-alpha02"
ext.coreVersion = "1.15.0"
ext.customviewVersion = "1.2.0-alpha02"
ext.customviewPoolingcontainerVersion = "1.0.0"
ext.documentfile = "1.0.1"
ext.drawerlayoutVersion = "1.2.0"
ext.dynamicanimationVersion = "1.1.0-alpha03"
ext.exifinterfaceVersion = "1.4.0-alpha01"
ext.fragmentVersion = "1.8.5"
ext.graphicsShapesVersion = "1.0.1"
ext.lifecycleVersion = "2.9.0-alpha08"
ext.mediaVersion = "1.7.0"
ext.media3Version = "1.5.0"
ext.resourceInspectionAnnotation = "1.0.1"
ext.savedStateVersion = "1.3.0-alpha06"
ext.swiperefreshlayoutVersion = "1.2.0-alpha01"
ext.tracingVersion = "1.2.0"
ext.transitionVersion = "1.5.1"
ext.vectordrawableVersion = "1.2.0"
ext.webkitVersion = "1.12.1"
ext.workVersion = "2.10.0"
//firebase libraries
ext.firebaseDatatransportVersion = "19.0.0"
ext.firebaseMessagingVersion = "24.1.0"
//firebase common libraries
ext.firebaseCommonVersion = "21.0.0"
ext.firebaseInstallationsInteropVersion = "17.2.0"
ext.firebaseComponentsVersion = "18.0.1"
ext.firebaseAnnotationsVersion = "16.2.0"
ext.playServicesTasksVersion = "18.2.0"
ext.playServicesBase = "18.5.0"
ext.autoValueVersion = "1.11.0"
//common libraries
ext.kotlin_version = "2.1.0"
ext.kotlin_coroutines = "1.9.0"
ext.kotlin_serializer = "1.8.0-RC"
ext.okhttpLibraryVersion = "5.0.0-SNAPSHOT"
//ext.okhttpLibraryVersion = "5.0.0-alpha.14"
ext.okioVersion = "3.9.1"
ext.guavaVersion = "33.3.1-android"
ext.errorProneVersion = "2.36.0"
ext.checkerCompatQualVersion = "2.5.6"
ext.checkerQualAndroidVersion = "3.48.3"
//APP_PROPS
ext.targetAbi = is_developer_build ? ["arm64-v8a", "x86_64"] : ["arm64-v8a", "armeabi-v7a", "x86_64"]
ext.vk_app_id = "2274003"
ext.vk_client_secret = "hHbZxrka2uZ6jB1inYsH"
ext.kate_app_id = "2685278"
ext.kate_client_secret = "lxhD8OD7dMsqtXIm5IUY"
ext.vk_service_token = "7915b3df7915b3df7915b3dfd9794b73c0779157915b3df20c283430d77571be482c8b3"
ext.fake_abi = "arm64-v8a"
ext.fake_device = "SAMSUNG SM-G980F"
//FIREBASE_PROPS
ext.vk_app_package = "com.vkontakte.android"
ext.vk_app_finger_print = "48761EEF50EE53AFC4CC9C5F10E6BDE7F8F5B82F"
ext.kate_app_package = "com.perm.kate_new_6"
ext.kate_app_finger_print = "966882BA564C2619D55D0A9AFD4327A38C327456"
//keytool -printcert -jarfile *.apk
repositories {
google()
mavenCentral()
//maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
classpath "com.android.tools.build:gradle:8.8.0-rc01"
classpath "com.google.gms:google-services:4.4.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
//https://github.com/esensar/kotlinx-serialization-msgpack
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
}
}
tasks.register("clean").configure {
delete(rootProject.layout.buildDirectory.asFile.get())
}
tasks.withType(JavaCompile).configureEach {
options.isFork = true
options.compilerArgs << "-Xmaxwarns" << "1000" << "-Xmaxerrs" << "1000"
//options.compilerArgs << "-Xlint:deprecation"
}