Skip to content

Commit 15c6453

Browse files
committed
revert(agp):revert agp version
1 parent e9022f4 commit 15c6453

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

android/app/build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,16 @@ androidComponents {
120120
onVariants(selector().all()) { variant ->
121121
variant.outputs.forEach { output ->
122122
def versionName = output.versionName.orNull ?: "1.0.0"
123-
output.outputFileName.set("OpenListF-v${versionName}.apk")
123+
def abi = ""
124+
if (output.filters != null && !output.filters.isEmpty()) {
125+
for (filter in output.filters) {
126+
if (filter.filterType.name() == "ABI") {
127+
abi = "_${filter.identifier}"
128+
break
129+
}
130+
}
131+
}
132+
output.outputFileName.set("OpenListF-v${versionName}${abi}.apk")
124133
}
125134
}
126135
}

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
ext{
33
kotlin_version = '1.9.21'
4-
agp_version = '8.11.1'
4+
agp_version = '8.1.4'
55
room_version = '2.6.1'
66
ksp_version = '1.9.21-1.0.16'
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Jul 15 12:22:13 CST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pluginManagement {
2323

2424
plugins {
2525
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
26-
id "com.android.application" version '8.11.1' apply false
26+
id "com.android.application" version '8.1.4' apply false
2727
}
2828

2929
include ":app"

android/utils/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
android {
77
namespace "com.github.openlistteam.utils"
8-
compileSdk 34
8+
compileSdk 35
99

1010
defaultConfig {
1111
minSdk 21
@@ -20,11 +20,11 @@ android {
2020
}
2121
}
2222
compileOptions {
23-
sourceCompatibility JavaVersion.VERSION_1_8
24-
targetCompatibility JavaVersion.VERSION_1_8
23+
sourceCompatibility JavaVersion.VERSION_17
24+
targetCompatibility JavaVersion.VERSION_17
2525
}
2626
kotlinOptions {
27-
jvmTarget = "1.8"
27+
jvmTarget = "17"
2828
}
2929
}
3030

0 commit comments

Comments
 (0)