@@ -7,12 +7,88 @@ pluginManagement {
77 }
88}
99dependencyResolutionManagement {
10+ def latestFastAdapterRelease = " 5.7.0"
11+ def jetpack_version = ' 2.5.1'
12+
1013 repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
1114 repositories {
1215 google()
1316 mavenCentral()
1417 maven { url ' https://jitpack.io' }
1518 }
19+
20+ versionCatalogs {
21+ mcal {
22+ library(' webview' , ' com.github.TimScriptov.App-UI-Designer:webview:1.0.9' )
23+ }
24+
25+ jetpack {
26+ library(' mvvm_viewmodel' , ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' )
27+ library(' mvvm_runtime' , ' androidx.lifecycle:lifecycle-runtime-ktx:2.6.1' )
28+ library(' mvvm_livedata' , ' androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' )
29+ library(' mvvm_extensions' , ' androidx.lifecycle:lifecycle-extensions:2.2.0' )
30+ library(' browser' , ' androidx.browser:browser:1.5.0' )
31+ library(' recyclerview' , ' androidx.recyclerview:recyclerview:1.3.0' )
32+ library(' vectordrawable_animated' , ' androidx.vectordrawable:vectordrawable-animated:1.1.0' )
33+ library(' core' , ' androidx.core:core-ktx:1.9.0' )
34+ library(' appcompat' , ' androidx.appcompat:appcompat:1.6.1' )
35+ library(' preference' , ' androidx.preference:preference-ktx:1.2.0' )
36+ library(' lifecycle' , " androidx.lifecycle:lifecycle-runtime-ktx:$jetpack_version " )
37+ library(' fragment' , " androidx.navigation:navigation-fragment:$jetpack_version " )
38+ library(' navigation' , " androidx.navigation:navigation-ui:$jetpack_version " )
39+ library(' material' , ' com.google.android.material:material:1.8.0' )
40+ library(' constraint' , " androidx.constraintlayout:constraintlayout:2.1.4" )
41+ library(' coordinatorlayout' , " androidx.coordinatorlayout:coordinatorlayout:1.2.0" )
42+ library(' vp2' , " androidx.viewpager2:viewpager2:1.0.0" )
43+ library(' cardview' , " androidx.cardview:cardview:1.0.0" )
44+ library(' preferences' , " androidx.datastore:datastore-preferences:1.0.0" )
45+ library(' preferences_core' , " androidx.datastore:datastore-preferences-core:1.0.0" )
46+ }
47+
48+ google {
49+ library(' services' , ' com.google.gms:google-services:4.3.15' )
50+ library(' play_services_base' , ' com.google.android.gms:play-services-base:18.1.0' )
51+ }
52+
53+ ui {
54+ library(' fastadapter' , " com.mikepenz:fastadapter:${ latestFastAdapterRelease} " )
55+ library(' fastadapter_binding' , " com.mikepenz:fastadapter-extensions-binding:${ latestFastAdapterRelease} " ) // view binding helpers
56+ library(' imageview' , ' com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0' )
57+ library(' fastscroll' , " me.zhanghai.android.fastscroll:library:1.2.0" )
58+
59+ }
60+
61+ fb {
62+ library(' firebase_messaging' , " com.google.firebase:firebase-messaging:23.1.2" )
63+ library(' firebase_iid' , " com.google.firebase:firebase-iid:21.1.0" )
64+ }
65+
66+ signing {
67+ library(' pkix' , ' com.madgag.spongycastle:pkix:1.54.0.0' )
68+ library(' spongy_core' , ' com.madgag.spongycastle:core:1.58.0.0' )
69+ library(' spongy_prov' , ' com.madgag.spongycastle:prov:1.58.0.0' )
70+ }
71+
72+ misc {
73+ library(' simple_xml' , ' org.simpleframework:simple-xml:2.7.1' )
74+ library(' leaks' , ' com.squareup.leakcanary:leakcanary-android:2.9.1' )
75+ library(' commons_cli' , ' commons-cli:commons-cli:1.5.0' )
76+ library(' commons_lang' , " org.apache.commons:commons-lang3:3.12.0" )
77+ library(' commons_io' , " commons-io:commons-io:2.11.0" )
78+ library(' commons_text' , " org.apache.commons:commons-text:1.9" )
79+ library(' guava' , ' com.google.guava:guava:31.0.1-android' )
80+ library(' antlr' , " org.antlr:antlr-runtime:3.5.2" )
81+ library(' annotations' , ' org.jetbrains:annotations:24.0.0' )
82+ library(' annotations_android' , ' androidx.annotation:annotation:1.5.0' )
83+ library(' coroutines_core' , " org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" )
84+ library(' coroutines_java' , " org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.1" )
85+ library(' net' , ' com.squareup.okhttp3:okhttp:4.10.0' )
86+ library(' gson' , ' com.google.code.gson:gson:2.10.1' )
87+ library(' util_codex' , ' com.blankj:utilcodex:1.30.6' )
88+ library(' httpclient' , ' org.apache.httpcomponents:httpclient:4.5.14' )
89+ library(' httpmime' , ' org.apache.httpcomponents:httpmime:4.5.14' )
90+ }
91+ }
1692}
1793
1894include ' :app'
0 commit comments