update libs, gradle, move from jitpack to custom jars

This commit is contained in:
M M Arif
2026-03-12 18:02:56 +05:00
parent d472791cc7
commit a30c9397a2
9 changed files with 42 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
plugins {
id "com.diffplug.spotless" version "8.2.1"
id "com.diffplug.spotless" version "8.3.0"
}
apply plugin: 'com.android.application'
@@ -76,7 +76,7 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation 'com.google.android.material:material:1.13.0'
implementation 'com.google.android.material:material:1.14.0-alpha10'
implementation 'androidx.compose.material3:material3:1.4.0'
implementation 'androidx.compose.material3:material3-window-size-class:1.4.0'
implementation 'androidx.viewpager2:viewpager2:1.1.0'
@@ -114,7 +114,7 @@ dependencies {
implementation "com.github.bumptech.glide:okhttp3-integration:5.0.5"
annotationProcessor 'com.github.bumptech.glide:compiler:5.0.5'
implementation "com.caverock:androidsvg-aar:1.4"
implementation "pl.droidsonroids.gif:android-gif-drawable:1.2.30"
implementation "pl.droidsonroids.gif:android-gif-drawable:1.2.31"
implementation 'com.google.guava:guava:33.5.0-jre'
//noinspection NewerVersionAvailable,GradleDependency
implementation 'commons-io:commons-io:2.5'
@@ -127,7 +127,7 @@ dependencies {
annotationProcessor 'androidx.room:room-compiler:2.8.4'
implementation "androidx.work:work-runtime:2.11.1"
implementation "io.mikael:urlbuilder:2.0.9"
implementation "org.codeberg.gitnex-garage:emoji-java:v5.1.2"
//implementation "org.codeberg.gitnex-garage:emoji-java:v5.1.2"
//noinspection GradleDependency
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.1.5"
implementation 'androidx.biometric:biometric:1.1.0'
@@ -135,9 +135,9 @@ dependencies {
implementation 'com.github.chrisvest:stormpot:2.4.2'
implementation 'androidx.browser:browser:1.9.0'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation('org.codeberg.gitnex:tea4j-autodeploy:fa90c7d20a') {
exclude module: 'org.apache.oltu.oauth2.common'
}
//implementation('org.codeberg.gitnex:tea4j-autodeploy:a91978be6a') {
// exclude module: 'org.apache.oltu.oauth2.common'
// }
implementation 'io.github.amrdeveloper:codeview:1.3.9'
constraints {

Binary file not shown.

Binary file not shown.

View File

@@ -33,7 +33,21 @@ public class AdminGetUsersViewModel extends ViewModel {
public void loadUsersList(int page, int resultLimit, Context ctx) {
Call<List<User>> call =
RetrofitClient.getApiInterface(ctx).adminSearchUsers(null, null, page, resultLimit);
RetrofitClient.getApiInterface(ctx)
.adminSearchUsers(
null,
null,
page,
resultLimit,
null,
null,
null,
null,
null,
null,
null,
null,
null);
call.enqueue(
new Callback<>() {
@@ -61,7 +75,21 @@ public class AdminGetUsersViewModel extends ViewModel {
int page, int resultLimit, Context ctx, AdminGetUsersAdapter adapter) {
Call<List<User>> call =
RetrofitClient.getApiInterface(ctx).adminSearchUsers(null, null, page, resultLimit);
RetrofitClient.getApiInterface(ctx)
.adminSearchUsers(
null,
null,
page,
resultLimit,
null,
null,
null,
null,
null,
null,
null,
null,
null);
call.enqueue(
new Callback<>() {

View File

@@ -53,7 +53,6 @@ public class IssuesViewModel extends ViewModel {
null,
null,
searchKeyword,
null,
type,
null,
null,
@@ -107,7 +106,6 @@ public class IssuesViewModel extends ViewModel {
null,
null,
searchKeyword,
null,
type,
null,
null,

View File

@@ -386,11 +386,9 @@
android:id="@+id/repo_fork_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="?android:attr/selectableItemBackground"
android:layout_marginBottom="@dimen/dimen16dp"
android:paddingStart="@dimen/dimen16dp"
android:paddingEnd="@dimen/dimen16dp">
android:orientation="horizontal"
tools:ignore="UseCompoundDrawables">
<ImageView
android:layout_gravity="center"

View File

@@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.13.2'
classpath 'com.android.tools.build:gradle:9.1.0'
}
}

View File

@@ -6,8 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
android.enableJetifier=true
android.nonFinalResIds=false
android.dependency.useConstraints=false
android.nonTransitiveRClass=false
android.useAndroidX=true
org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

View File

@@ -1,6 +1,6 @@
#Tue Jul 11 23:34:25 PKT 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists