diff --git a/README.md b/README.md index f98ad88f3..daf20ff7b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ -# Simple Gallery +# Simple Gallery AVIF Logo +这是Simple Gallery的AVIF改版,使其支持了AVIF图片的读取。可以在右侧的Release页面下载。 + +This is the AVIF version of Simple Gallery, which now supports the reading of AVIF images. You can download it in Release Page. + +
+ Simple Gallery brings you all the photo viewing and editing features you have been missing on your Android in one stylish easy-to-use app. Browse, manage, crop and edit photos or videos faster than ever, recover accidentally deleted files or create hidden galleries for your most precious images and videos. And with advanced file-support and full customization, finally, your gallery works just the way you want. ADVANCED PHOTO EDITOR diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 352eefa8a..25cad0366 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -56,6 +56,7 @@ android { getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) + signingConfig = signingConfigs.getByName("debug") if (keystorePropertiesFile.exists()) { signingConfig = signingConfigs.getByName("release") } @@ -121,6 +122,7 @@ dependencies { implementation(libs.picasso) { exclude(group = "com.squareup.okhttp3", module = "okhttp") } + implementation(libs.avif.integration) compileOnly(libs.okhttp) ksp(libs.glide.compiler) diff --git a/gradle.properties b/gradle.properties index 23bdc1ab5..401910d8a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,6 @@ +android.defaults.buildfeatures.buildconfig=true android.enableJetifier=true +android.nonFinalResIds=false android.nonTransitiveRClass=true android.useAndroidX=true org.gradle.jvmargs=-Xmx8192m diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a2c137ee6..a9d148088 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,9 +15,9 @@ room = "2.6.0-beta01" #Simple tools simple-commons = "9e60e24790" #Gradle -gradlePlugins-agp = "7.4.0" +gradlePlugins-agp = "8.1.2" #Other -androidGifDrawable = "1.2.25" +androidGifDrawable = "1.2.28" androidImageCropper = "4.5.0" apng = "2.28.0" awebp = "2.28.0" @@ -31,7 +31,7 @@ sdkVideowidget = "1.180.0" sdkPanowidget = "1.180.0" media3Exoplayer = "1.1.0" okhttp = "4.9.0" -okio = "3.0.0" +okio = "3.6.0" picasso = "2.71828" #build app-build-compileSDKVersion = "34" @@ -74,6 +74,7 @@ awebp = { module = "com.github.penfeizhou.android.animation:awebp", version.ref glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glideCompiler" } zjupure-webpdecoder = { module = "com.github.zjupure:webpdecoder", version.ref = "zjupureWebpdecoder" } picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" } +avif-integration = { group = "com.github.bumptech.glide", name = "avif-integration", version = "5.0.0-rc01" } [bundles] room = [ "androidx-room-ktx",