mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 04:37:25 +01:00
Update AGP, reorganize libraries
This commit is contained in:
parent
b0f33815d8
commit
0f4ced5669
@ -47,23 +47,23 @@ dependencies {
|
|||||||
implementation 'androidx.browser:browser:1.3.0'
|
implementation 'androidx.browser:browser:1.3.0'
|
||||||
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.0-beta02'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.0-beta02'
|
||||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
||||||
def lifecycleVersion = "2.2.0"
|
def lifecycleVersion = "2.2.0"
|
||||||
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
|
||||||
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycleVersion"
|
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycleVersion"
|
||||||
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycleVersion"
|
implementation "androidx.lifecycle:lifecycle-process:2.3.1"
|
||||||
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycleVersion"
|
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycleVersion"
|
||||||
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleVersion"
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycleVersion"
|
||||||
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
|
def pagingVersion = "3.0.1"
|
||||||
annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
|
implementation "androidx.paging:paging-runtime:$pagingVersion"
|
||||||
implementation 'androidx.paging:paging-runtime:3.0.1'
|
implementation "androidx.paging:paging-guava:$pagingVersion"
|
||||||
implementation "androidx.paging:paging-guava:3.0.1"
|
|
||||||
implementation 'androidx.preference:preference:1.1.1'
|
implementation 'androidx.preference:preference:1.1.1'
|
||||||
def roomVersion = "2.3.0"
|
def roomVersion = "2.3.0"
|
||||||
implementation "androidx.room:room-runtime:$roomVersion"
|
implementation "androidx.room:room-runtime:$roomVersion"
|
||||||
annotationProcessor "androidx.room:room-compiler:$roomVersion"
|
annotationProcessor "androidx.room:room-compiler:$roomVersion"
|
||||||
|
implementation 'androidx.startup:startup-runtime:1.0.0'
|
||||||
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
|
||||||
implementation 'androidx.work:work-runtime:2.5.0'
|
implementation 'androidx.work:work-runtime:2.5.0'
|
||||||
implementation 'com.google.android.material:material:1.3.0-rc01'
|
implementation 'com.google.android.material:material:1.3.0-rc01'
|
||||||
implementation "androidx.viewpager2:viewpager2:1.1.0-alpha01"
|
|
||||||
|
|
||||||
/** ExoPlayer **/
|
/** ExoPlayer **/
|
||||||
def exoplayerVersion = "2.10.8"
|
def exoplayerVersion = "2.10.8"
|
||||||
@ -81,10 +81,6 @@ dependencies {
|
|||||||
|
|
||||||
/**** Backend logic ****/
|
/**** Backend logic ****/
|
||||||
|
|
||||||
// Reactive stuff for event and async related
|
|
||||||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
|
||||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
|
|
||||||
|
|
||||||
// HTTP clients
|
// HTTP clients
|
||||||
def retrofitVersion = "2.9.0"
|
def retrofitVersion = "2.9.0"
|
||||||
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
|
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
|
||||||
@ -121,6 +117,15 @@ dependencies {
|
|||||||
// NOTE: Replace with Squareup's Moshi?
|
// NOTE: Replace with Squareup's Moshi?
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
|
|
||||||
|
// Java library for zip files and streams
|
||||||
|
implementation 'net.lingala.zip4j:zip4j:2.7.0'
|
||||||
|
|
||||||
|
// IO functionality
|
||||||
|
implementation 'org.apache.commons:commons-io:1.3.2'
|
||||||
|
|
||||||
|
// Crash reporting
|
||||||
|
implementation 'com.github.FunkyMuse:Crashy:1.1.0'
|
||||||
|
|
||||||
|
|
||||||
/**** User Interface (frontend) ****/
|
/**** User Interface (frontend) ****/
|
||||||
|
|
||||||
@ -172,19 +177,8 @@ dependencies {
|
|||||||
// RecyclerView fast scrolling
|
// RecyclerView fast scrolling
|
||||||
implementation 'me.zhanghai.android.fastscroll:library:1.1.5'
|
implementation 'me.zhanghai.android.fastscroll:library:1.1.5'
|
||||||
|
|
||||||
implementation 'net.lingala.zip4j:zip4j:2.7.0'
|
|
||||||
implementation 'org.apache.commons:commons-io:1.3.2'
|
|
||||||
|
|
||||||
implementation "androidx.startup:startup-runtime:1.0.0"
|
|
||||||
implementation 'com.github.FunkyMuse:Crashy:1.1.0'
|
|
||||||
|
|
||||||
implementation "androidx.lifecycle:lifecycle-process:2.3.1"
|
|
||||||
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
|
|
||||||
|
|
||||||
implementation 'androidx.palette:palette:1.0.0'
|
|
||||||
|
|
||||||
|
|
||||||
/**** Builds and flavors ****/
|
/**** Builds and flavors ****/
|
||||||
// debugImplementation because LeakCanary should only run in debug builds.
|
// debugImplementation because LeakCanary should only run in debug builds.
|
||||||
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5'
|
//debugImplementation 'com.squareup.leakcanary:leakcanary-android:x.y'
|
||||||
}
|
}
|
||||||
|
@ -50,12 +50,6 @@ public class AcknowledgementFragment extends Fragment {
|
|||||||
acknowledgements.add(new Acknowledgement("Glide",
|
acknowledgements.add(new Acknowledgement("Glide",
|
||||||
"A fast and efficient open source media management and image loading framework for Android",
|
"A fast and efficient open source media management and image loading framework for Android",
|
||||||
Uri.parse("https://github.com/bumptech/glide")));
|
Uri.parse("https://github.com/bumptech/glide")));
|
||||||
acknowledgements.add(new Acknowledgement("RxAndroid",
|
|
||||||
"Android specific bindings for RxJava 2",
|
|
||||||
Uri.parse("https://github.com/ReactiveX/RxAndroid")));
|
|
||||||
acknowledgements.add(new Acknowledgement("RxJava",
|
|
||||||
"Reactive extensions for the JVM",
|
|
||||||
Uri.parse("https://github.com/ReactiveX/RxJava")));
|
|
||||||
acknowledgements.add(new Acknowledgement("Retrofit",
|
acknowledgements.add(new Acknowledgement("Retrofit",
|
||||||
"Type-safe HTTP client for Android and Java by Square, Inc.",
|
"Type-safe HTTP client for Android and Java by Square, Inc.",
|
||||||
Uri.parse("https://github.com/square/retrofit")));
|
Uri.parse("https://github.com/square/retrofit")));
|
||||||
|
@ -3,10 +3,12 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
maven { url "https://jitpack.io" }
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:4.1.1'
|
classpath 'com.android.tools.build:gradle:7.0.2'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
@ -16,9 +18,9 @@ buildscript {
|
|||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
jcenter()
|
|
||||||
maven { url "https://jitpack.io" }
|
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven { url "https://jitpack.io" }
|
||||||
|
jcenter()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user