Donate to
e Foundation
|
Murena
handsets with /e/OS | Own a part of Murena!
Learn more
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
App Lounge
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
e
os
App Lounge
Commits
0c0c20ac
Commit
0c0c20ac
authored
4 months ago
by
Mohammed Althaf Thayyil
Committed by
Jonathan Klee
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: Refactor Gradle dependencies
parent
dcecefb7
Branches
Branches containing commit
No related tags found
1 merge request
!536
apps: Upgrade applounge sdk and dependencies
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/build.gradle
+100
-93
100 additions, 93 deletions
app/build.gradle
with
100 additions
and
93 deletions
app/build.gradle
+
100
−
93
View file @
0c0c20ac
...
@@ -226,116 +226,123 @@ allOpen {
...
@@ -226,116 +226,123 @@ allOpen {
}
}
dependencies
{
dependencies
{
// Define versions
def
activity_version
=
"1.9.3"
def
appcompat_version
=
"1.7.0"
def
constraintlayout_version
=
"2.2.0"
def
core_ktx_version
=
"1.15.0"
def
fragment_ktx_version
=
"1.8.5"
def
material_version
=
"1.12.0"
def
navigation_version
=
"2.8.5"
def
lifecycle_version
=
"2.8.7"
def
room_version
=
"2.6.1"
def
workmanager_version
=
"2.10.0"
def
coroutines_version
=
"1.10.1"
def
retrofit_version
=
"2.11.0"
def
okhttp_version
=
"4.12.0"
def
moshi_version
=
"1.15.1"
def
hilt_version
=
"2.54"
def
test_kotlin_version
=
"2.1.0"
implementation
project
(
':auth-data-lib'
)
// Project dependencies
implementation
project
(
':parental-control-data'
)
implementation
(
project
(
":auth-data-lib"
))
implementation
(
project
(
":parental-control-data"
))
// Library dependencies
// TODO: Add splitinstall-lib to a repo https://gitlab.e.foundation/e/os/backlog/-/issues/628
// TODO: Add splitinstall-lib to a repo https://gitlab.e.foundation/e/os/backlog/-/issues/628
api
files
(
'libs/splitinstall-lib.jar'
)
api
(
files
(
"libs/splitinstall-lib.jar"
))
implementation
'foundation.e.lib:telemetry:0.0.11-alpha'
// eFoundation libraries
implementation
'foundation.e:gplayapi:3.4.2-0'
implementation
(
"foundation.e.lib:telemetry:0.0.11-alpha"
)
implementation
'androidx.core:core-ktx:1.15.0'
implementation
(
"foundation.e:gplayapi:3.4.2-0"
)
implementation
'androidx.appcompat:appcompat:1.7.0'
implementation
(
"foundation.e:elib:0.0.1-alpha11"
)
implementation
'androidx.fragment:fragment-ktx:1.8.5'
implementation
'com.google.android.material:material:1.12.0'
// AndroidX libraries
implementation
'androidx.constraintlayout:constraintlayout:2.2.0'
implementation
(
"androidx.core:core-ktx:$core_ktx_version"
)
implementation
'androidx.legacy:legacy-support-v4:1.0.0'
implementation
(
"androidx.appcompat:appcompat:$appcompat_version"
)
implementation
'androidx.preference:preference-ktx:1.2.1'
implementation
(
"androidx.fragment:fragment-ktx:$fragment_ktx_version"
)
implementation
"androidx.datastore:datastore-preferences:1.1.1"
implementation
(
"androidx.preference:preference-ktx:1.2.1"
)
implementation
'com.facebook.shimmer:shimmer:0.5.0'
implementation
(
"androidx.constraintlayout:constraintlayout:$constraintlayout_version"
)
implementation
'androidx.core:core-google-shortcuts:1.1.0'
implementation
(
"androidx.legacy:legacy-support-v4:1.0.0"
)
debugImplementation
'com.squareup.leakcanary:leakcanary-android:2.7'
implementation
(
"androidx.datastore:datastore-preferences:1.1.1"
)
testImplementation
"com.google.truth:truth:1.1.4"
implementation
(
"androidx.viewpager2:viewpager2:1.1.0"
)
testImplementation
'junit:junit:4.13.2'
implementation
(
"androidx.recyclerview:recyclerview:1.3.2"
)
androidTestImplementation
'androidx.test.ext:junit:1.2.1'
implementation
(
"androidx.navigation:navigation-fragment-ktx:$navigation_version"
)
androidTestImplementation
'androidx.test.espresso:espresso-core:3.6.1'
implementation
(
"androidx.navigation:navigation-ui-ktx:$navigation_version"
)
// Optional -- Robolectric environment
implementation
(
"androidx.activity:activity-ktx:$activity_version"
)
testImplementation
"androidx.test:core:1.6.1"
// Optional -- Mockito framework
testImplementation
"org.mockito:mockito-core:5.14.2"
// Optional -- mockito-kotlin
testImplementation
"org.mockito.kotlin:mockito-kotlin:5.4.0"
testImplementation
'org.mockito:mockito-inline:5.0.0'
testImplementation
"androidx.arch.core:core-testing:2.2.0"
testImplementation
"io.mockk:mockk:1.12.3"
// Coil and PhotoView
// Material Design
implementation
"io.coil-kt:coil:1.4.0"
implementation
(
"com.google.android.material:material:$material_version"
)
implementation
'com.github.Baseflow:PhotoView:2.3.0'
//Protobuf and Gson
// Lifecycle Components
implementation
'com.google.code.gson:gson:2.11.0'
implementation
(
"androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
)
implementation
"com.google.protobuf:protobuf-javalite:4.28.2"
implementation
(
"androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
)
implementation
(
"androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
)
implementation
(
"android.arch.lifecycle:extensions:1.1.1"
)
// ViewPager2 and RecyclerView
// WorkManager
implementation
"androidx.viewpager2:viewpager2:1.1.0"
implementation
(
"androidx.work:work-runtime-ktx:$workmanager_version"
)
implementation
"androidx.recyclerview:recyclerview:1.3.2"
//logger
// Room
implementation
'com.jakewharton.timber:timber:5.0.1'
ksp
(
"androidx.room:room-compiler:$room_version"
)
implementation
(
"androidx.room:room-ktx:$room_version"
)
implementation
(
"androidx.room:room-runtime:$room_version"
)
// Bouncy Castle
// Hilt
implementation
'org.bouncycastle:bcpg-jdk15on:1.60'
ksp
(
"com.google.dagger:hilt-compiler:$hilt_version"
)
implementation
(
"com.google.dagger:hilt-android:$hilt_version"
)
implementation
(
"androidx.hilt:hilt-work:1.2.0"
)
ksp
(
"androidx.hilt:hilt-compiler:1.2.0"
)
// Retrofit
// Facebook
def
retrofit_version
=
"2.11.0"
implementation
(
"com.facebook.shimmer:shimmer:0.5.0"
)
implementation
"com.squareup.retrofit2:retrofit:$retrofit_version"
implementation
"com.squareup.retrofit2:converter-moshi:$retrofit_version"
implementation
"com.squareup.retrofit2:converter-jackson:$retrofit_version"
implementation
"com.squareup.moshi:moshi-kotlin:1.15.1"
implementation
"com.squareup.okhttp3:okhttp:4.12.0"
implementation
"com.squareup.okhttp3:logging-interceptor:4.11.0"
// JSON Converter
// Coroutines
implementation
'com.squareup.retrofit2:converter-gson:2.11.0'
implementation
(
"org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
)
implementation
(
"org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
)
testImplementation
(
"org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
)
testImplementation
(
"org.jetbrains.kotlin:kotlin-test:$test_kotlin_version"
)
// Testing dependencies
testImplementation
(
"com.google.truth:truth:1.1.4"
)
testImplementation
(
"junit:junit:4.13.2"
)
androidTestImplementation
(
"androidx.test.ext:junit:1.2.1"
)
androidTestImplementation
(
"androidx.test.espresso:espresso-core:3.6.1"
)
testImplementation
(
"androidx.test:core:1.6.1"
)
testImplementation
(
"org.mockito:mockito-core:5.14.2"
)
testImplementation
(
"org.mockito.kotlin:mockito-kotlin:5.4.0"
)
testImplementation
(
"org.mockito:mockito-inline:5.0.0"
)
testImplementation
(
"androidx.arch.core:core-testing:2.2.0"
)
testImplementation
(
"io.mockk:mockk:1.12.3"
)
// YAML factory
// Coil and PhotoView
implementation
"com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.0"
implementation
(
"io.coil-kt:coil:1.4.0"
)
implementation
(
"com.github.Baseflow:PhotoView:2.3.0"
)
// Navigation Components
// Protobuf and Gson
def
navigation_version
=
"2.8.5"
implementation
(
"com.google.code.gson:gson:2.11.0"
)
implementation
"androidx.navigation:navigation-fragment-ktx:$navigation_version"
implementation
(
"com.google.protobuf:protobuf-javalite:4.28.2"
)
implementation
"androidx.navigation:navigation-ui-ktx:$navigation_version"
// Hilt
// Logger
def
hilt_version
=
'2.54'
implementation
(
"com.jakewharton.timber:timber:5.0.1"
)
ksp
"com.google.dagger:hilt-compiler:$hilt_version"
implementation
"com.google.dagger:hilt-android:$hilt_version"
implementation
'androidx.hilt:hilt-work:1.2.0'
ksp
'androidx.hilt:hilt-compiler:1.2.0'
// Lifecycle Components
// Retrofit
def
lifecycle_version
=
"2.8.7"
implementation
(
"com.squareup.retrofit2:retrofit:$retrofit_version"
)
implementation
"androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation
(
"com.squareup.retrofit2:converter-moshi:$retrofit_version"
)
implementation
"androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
implementation
(
"com.squareup.retrofit2:converter-jackson:$retrofit_version"
)
implementation
"android.arch.lifecycle:extensions:1.1.1"
implementation
(
"com.squareup.moshi:moshi-kotlin:$moshi_version"
)
implementation
"androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
implementation
(
"com.squareup.okhttp3:okhttp:$okhttp_version"
)
implementation
(
"com.squareup.okhttp3:logging-interceptor:4.11.0"
)
// Coroutines
// JSON Converter
def
coroutines_version
=
"1.10.1"
implementation
(
"com.squareup.retrofit2:converter-gson:$retrofit_version"
)
def
test_kotlin_version
=
"2.1.0"
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
testImplementation
"org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
testImplementation
"org.jetbrains.kotlin:kotlin-test:$test_kotlin_version"
// Room
// YAML factory
ksp
"androidx.room:room-compiler:2.6.1"
implementation
(
"com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.0"
)
implementation
"androidx.room:room-ktx:2.6.1"
implementation
"androidx.room:room-runtime:2.6.1"
//
WorkManager
//
Bouncy Castle
implementation
'androidx.work:work-runtime-ktx:2.10.0'
implementation
(
"org.bouncycastle:bcpg-jdk15on:1.60"
)
// JSoup
// JSoup
implementation
'org.jsoup:jsoup:1.17.2'
implementation
(
"org.jsoup:jsoup:1.17.2"
)
// elib
implementation
'foundation.e:elib:0.0.1-alpha11'
// androidx.activity
def
activity_version
=
"1.9.3"
implementation
(
"androidx.activity:activity-ktx:$activity_version"
)
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment