update libs + fix bugs

This commit is contained in:
Thomas 2025-02-18 16:10:06 +01:00
parent 96a43a7c32
commit 318a566e76
10 changed files with 59 additions and 48 deletions

View file

@ -8,11 +8,11 @@ plugins {
} }
def flavor def flavor
android { android {
compileSdk 34 compileSdk 35
defaultConfig { defaultConfig {
minSdk 21 minSdk 21
targetSdk 34 targetSdk 35
versionCode 515 versionCode 515
versionName "3.28.2" versionName "3.28.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@ -92,6 +92,7 @@ android {
abortOnError false abortOnError false
checkReleaseBuilds false checkReleaseBuilds false
} }
buildToolsVersion '35.0.0'
} }
allprojects { allprojects {
repositories { repositories {
@ -123,7 +124,7 @@ dependencies {
transitive = false transitive = false
} }
implementation "org.jsoup:jsoup:1.15.1" implementation "org.jsoup:jsoup:1.18.1"
implementation 'com.github.mergehez:ArgPlayer:v3.1' implementation 'com.github.mergehez:ArgPlayer:v3.1'
implementation project(':autoimageslider') implementation project(':autoimageslider')
@ -139,17 +140,17 @@ dependencies {
annotationProcessor "com.github.bumptech.glide:compiler:4.12.0" annotationProcessor "com.github.bumptech.glide:compiler:4.12.0"
implementation 'jp.wasabeef:glide-transformations:4.3.0' implementation 'jp.wasabeef:glide-transformations:4.3.0'
implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.23.0' implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.23.0'
implementation 'androidx.media3:media3-exoplayer-hls:1.2.1' implementation 'androidx.media3:media3-exoplayer-hls:1.5.1'
implementation "androidx.media3:media3-exoplayer:1.2.1" implementation "androidx.media3:media3-exoplayer:1.5.1"
implementation "androidx.media3:media3-exoplayer-dash:1.2.1" implementation "androidx.media3:media3-exoplayer-dash:1.5.1"
implementation "androidx.media3:media3-ui:1.2.1" implementation "androidx.media3:media3-ui:1.5.1"
implementation "androidx.media3:media3-session:1.2.1" implementation "androidx.media3:media3-session:1.5.1"
implementation "androidx.viewpager2:viewpager2:1.0.0" implementation "androidx.viewpager2:viewpager2:1.1.0"
implementation 'com.github.piasy:rxandroidaudio:1.7.0' implementation 'com.github.piasy:rxandroidaudio:1.7.0'
implementation 'com.github.piasy:AudioProcessor:1.7.0' implementation 'com.github.piasy:AudioProcessor:1.7.0'
implementation "androidx.work:work-runtime:2.9.0" implementation "androidx.work:work-runtime:2.10.0"
implementation 'app.futured.hauler:hauler:5.0.0' implementation 'app.futured.hauler:hauler:5.0.0'
implementation "com.github.chrisbanes:PhotoView:2.3.0" implementation "com.github.chrisbanes:PhotoView:2.3.0"
implementation "ch.acra:acra-mail:5.11.3" implementation "ch.acra:acra-mail:5.11.3"
@ -166,21 +167,21 @@ dependencies {
implementation 'com.burhanrashid52:photoeditor:1.5.1' implementation 'com.burhanrashid52:photoeditor:1.5.1'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'androidx.lifecycle:lifecycle-livedata:2.6.2' implementation 'androidx.lifecycle:lifecycle-livedata:2.8.7'
implementation 'androidx.lifecycle:lifecycle-viewmodel:2.6.2' implementation 'androidx.lifecycle:lifecycle-viewmodel:2.8.7'
implementation 'androidx.navigation:navigation-fragment:2.7.5' implementation 'androidx.navigation:navigation-fragment:2.8.7'
implementation 'androidx.navigation:navigation-ui:2.7.5' implementation 'androidx.navigation:navigation-ui:2.8.7'
testImplementation 'junit:junit:' testImplementation 'junit:junit:'
androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1' // debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
implementation 'com.r0adkll:slidableactivity:2.1.0' implementation 'com.r0adkll:slidableactivity:2.1.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.vectordrawable:vectordrawable:1.2.0'
implementation "androidx.fragment:fragment:1.6.2" implementation "androidx.fragment:fragment:1.8.6"
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.browser:browser:1.7.0' implementation 'androidx.browser:browser:1.8.0'
implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.documentfile:documentfile:1.0.1'
implementation 'com.github.amoskorir:avatarimagegenerator:1.5.0' implementation 'com.github.amoskorir:avatarimagegenerator:1.5.0'
@ -202,10 +203,10 @@ dependencies {
//************ CAST **************/// //************ CAST **************///
//---> Google libs (google_full) //---> Google libs (google_full)
playstoreImplementation "com.google.android.gms:play-services-cast-tv:21.0.1" playstoreImplementation "com.google.android.gms:play-services-cast-tv:21.1.1"
playstoreImplementation "com.google.android.gms:play-services-cast:21.4.0" playstoreImplementation "com.google.android.gms:play-services-cast:22.0.0"
playstoreImplementation "androidx.mediarouter:mediarouter:1.6.0" playstoreImplementation "androidx.mediarouter:mediarouter:1.7.0"
playstoreImplementation 'com.google.android.gms:play-services-cast-framework:21.4.0' playstoreImplementation 'com.google.android.gms:play-services-cast-framework:22.0.0'
//----> Other flavors //----> Other flavors

View file

@ -9,6 +9,7 @@ import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment; import androidx.fragment.app.DialogFragment;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
@ -144,16 +145,14 @@ public final class TrackSelectionDialog extends DialogFragment {
} }
private static String getTrackTypeString(Resources resources, @C.TrackType int trackType) { private static String getTrackTypeString(Resources resources, @C.TrackType int trackType) {
switch (trackType) { return switch (trackType) {
case C.TRACK_TYPE_VIDEO: case C.TRACK_TYPE_VIDEO ->
return resources.getString(R.string.exo_track_selection_title_video); resources.getString(R.string.video);
case C.TRACK_TYPE_AUDIO: case C.TRACK_TYPE_AUDIO ->
return resources.getString(R.string.exo_track_selection_title_audio); resources.getString(R.string.audio);
case C.TRACK_TYPE_TEXT: case C.TRACK_TYPE_TEXT -> resources.getString(R.string.text);
return resources.getString(R.string.exo_track_selection_title_text); default -> throw new IllegalArgumentException();
default: };
throw new IllegalArgumentException();
}
} }
private void init( private void init(
@ -323,6 +322,7 @@ public final class TrackSelectionDialog extends DialogFragment {
super(fragmentManager, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT); super(fragmentManager, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
} }
@NonNull
@Override @Override
public Fragment getItem(int position) { public Fragment getItem(int position) {
return tabFragments.get(tabTrackTypes.get(position)); return tabFragments.get(tabTrackTypes.get(position));

View file

@ -91,6 +91,8 @@
<string name="channel">Channel</string> <string name="channel">Channel</string>
<string name="videos">Videos</string> <string name="videos">Videos</string>
<string name="video">Video</string>
<string name="text">Text</string>
<string name="channels">Channels</string> <string name="channels">Channels</string>
<string-array name="refresh_time"> <string-array name="refresh_time">

View file

@ -5,7 +5,7 @@ android {
compileSdkVersion 33 compileSdkVersion 33
defaultConfig { defaultConfig {
minSdkVersion 15 minSdkVersion 21
targetSdkVersion 33 targetSdkVersion 33
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -6,7 +6,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:8.2.0' classpath 'com.android.tools.build:gradle:8.8.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.5" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.5"
classpath 'com.google.gms:google-services:4.4.0' classpath 'com.google.gms:google-services:4.4.0'

View file

@ -4,7 +4,7 @@ android {
compileSdkVersion 33 compileSdkVersion 33
defaultConfig { defaultConfig {
minSdkVersion 15 minSdkVersion 21
targetSdkVersion 33 targetSdkVersion 33
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -1,6 +1,6 @@
#Wed Nov 03 09:29:30 CET 2021 #Wed Nov 03 09:29:30 CET 2021
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

View file

@ -1,11 +1,11 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
android { android {
compileSdkVersion 33 compileSdkVersion 35
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 21
targetSdkVersion 33 targetSdkVersion 35
} }
buildTypes { buildTypes {
release { release {
@ -18,6 +18,6 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.0' implementation 'androidx.appcompat:appcompat:1.7.0'
} }

View file

@ -6,7 +6,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 15 minSdkVersion 21
targetSdkVersion 31 targetSdkVersion 31
} }
buildTypes { buildTypes {
@ -29,5 +29,5 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation "com.google.code.gson:gson:2.8.6" implementation "com.google.code.gson:gson:2.10.1"
} }

View file

@ -3,11 +3,11 @@ apply plugin: 'com.android.library'
group = 'com.github.tom79' group = 'com.github.tom79'
android { android {
compileSdkVersion 33 compileSdkVersion 35
defaultConfig { defaultConfig {
minSdkVersion 15 minSdkVersion 21
targetSdkVersion 33 targetSdkVersion 35
} }
buildTypes { buildTypes {
release { release {
@ -21,6 +21,14 @@ android {
} }
} }
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) constraints {
implementation 'androidx.appcompat:appcompat:1.6.0' implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
}
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
}
}
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.7.0'
} }