@@ -6,20 +6,67 @@ import java.util.regex.Pattern
66
77buildscript {
88 ext {
9- // Depends on versions in OEXFoundation
9+ // Plugin versions
10+ android_gradle_plugin_version = ' 8.12.0'
1011 kotlin_version = ' 2.0.0'
12+ google_services_version = ' 4.4.3'
13+ firebase_crashlytics_version = ' 3.0.6'
14+ ksp_version = ' 2.0.0-1.0.24'
15+ detekt_version = ' 1.23.8'
16+
17+ // Library versions
1118 room_version = ' 2.6.1'
12- detekt_version = ' 1.23.7'
19+ media3_version = " 1.8.0"
20+ youtubeplayer_version = " 11.1.0"
21+ firebase_version = " 33.0.0"
22+ jsoup_version = ' 1.21.1'
23+ in_app_review = ' 2.0.2'
24+ extented_spans_version = " 1.4.0"
25+ zip_version = ' 2.11.5'
26+
27+ // Third-party library versions
28+ branch_sdk_version = ' 5.20.0'
29+ play_services_ads_identifier_version = ' 18.2.0'
30+ install_referrer_version = ' 2.2'
31+ snakeyaml_version = ' 2.4'
32+ openedx_foundation_version = ' 1.0.1'
33+ openedx_firebase_analytics_version = ' 1.0.1'
34+ braze_sdk_version = ' 37.0.0'
35+
36+ // AndroidX library versions
37+ core_splashscreen_version = ' 1.0.1'
38+ activity_compose_version = ' 1.10.1'
39+ browser_version = ' 1.9.0'
40+ credentials_version = ' 1.5.0'
41+
42+ // Social login versions
43+ facebook_login_version = ' 18.1.3'
44+ play_services_auth_version = ' 21.4.0'
45+ googleid_version = ' 1.1.1'
46+ msal_version = ' 7.0.0'
47+
48+ // OpenTelemetry versions
49+ opentelemetry_version = ' 1.53.0'
50+
51+ // Testing versions
52+ compose_ui_tooling = ' 1.7.8'
53+ mockk_version = ' 1.14.5'
54+ android_arch_version = ' 2.2.0'
55+ junit_version = ' 4.13.2'
56+ test_ext_version = ' 1.3.0'
57+ espresso_version = ' 3.7.0'
1358 }
1459}
1560
1661plugins {
17- id ' com.android.application' version ' 8.5.2' apply false
18- id ' com.android.library' version ' 8.5.2' apply false
62+ // noinspection GradlePluginVersion
63+ id ' com.android.application' version " $android_gradle_plugin_version " apply false
64+ // noinspection GradlePluginVersion
65+ id ' com.android.library' version " $android_gradle_plugin_version " apply false
1966 id ' org.jetbrains.kotlin.android' version " $kotlin_version " apply false
20- id ' com.google.gms.google-services' version ' 4.4.2 ' apply false
21- id " com.google.firebase.crashlytics" version " 3.0.2 " apply false
22- id " com.google.devtools.ksp" version " 2.0.0-1.0.24 " apply false
67+ id ' com.google.gms.google-services' version " $g oogle_services_version " apply false
68+ id " com.google.firebase.crashlytics" version " $f irebase_crashlytics_version " apply false
69+ id " com.google.devtools.ksp" version " $k sp_version " apply false
2370 id " org.jetbrains.kotlin.plugin.compose" version " $kotlin_version " apply false
2471 id ' io.gitlab.arturbosch.detekt' version " $detekt_version " apply false
2572}
@@ -29,25 +76,13 @@ tasks.register('clean', Delete) {
2976}
3077
3178ext {
32- media3_version = " 1.4.1"
33- youtubeplayer_version = " 11.1.0"
34-
35- firebase_version = " 33.0.0"
36-
37- jsoup_version = ' 1.13.1'
38-
39- in_app_review = ' 2.0.1'
40-
41- extented_spans_version = " 1.3.0"
79+ // Android SDK versions
80+ compile_sdk_version = 36
81+ target_sdk_version = 36
82+ min_sdk_version = 24
83+ java_version = JavaVersion . VERSION_17
4284
4385 configHelper = new ConfigHelper (projectDir, getCurrentFlavor())
44-
45- zip_version = ' 2.6.3'
46- // testing
47- compose_ui_tooling = ' 1.7.8'
48- mockk_version = ' 1.13.12'
49- android_arch_version = ' 2.2.0'
50- junit_version = ' 4.13.2'
5186}
5287
5388def getCurrentFlavor () {
0 commit comments