Skip to content

Commit 0044a36

Browse files
committed
Update dependencies
When upgrading to gradle 9 +, we remove several unused tasks for development to simplify the process. Close #385, #441, #445, #448, #462 as merged.
1 parent 2666bda commit 0044a36

File tree

12 files changed

+43
-107
lines changed

12 files changed

+43
-107
lines changed

.github/workflows/core.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
with:
2929
submodules: recursive
3030
fetch-depth: 0
@@ -41,26 +41,26 @@ jobs:
4141
fi
4242
4343
- name: Checkout libxposed/api
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v5
4545
with:
4646
repository: libxposed/api
4747
path: libxposed/api
4848
ref: 54582730315ba4a3d7cfaf9baf9d23c419e07006
4949

5050
- name: Checkout libxposed/service
51-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
5252
with:
5353
repository: libxposed/service
5454
path: libxposed/service
5555

5656
- name: Setup Java
57-
uses: actions/setup-java@v4
57+
uses: actions/setup-java@v5
5858
with:
5959
distribution: temurin
6060
java-version: 21
6161

6262
- name: Setup Gradle
63-
uses: gradle/actions/setup-gradle@v4
63+
uses: gradle/actions/setup-gradle@v5
6464

6565
- name: Setup ninja
6666
uses: seanmiddleditch/gha-setup-ninja@v6
@@ -110,27 +110,27 @@ jobs:
110110
unzip magisk-loader/release/LSPosed-v*-zygisk-debug.zip -d LSPosed-zygisk-debug
111111
112112
- name: Upload zygisk release
113-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@v5
114114
with:
115115
name: ${{ steps.prepareArtifact.outputs.zygiskReleaseName }}
116116
path: "./LSPosed-zygisk-release/*"
117117

118118
- name: Upload zygisk debug
119-
uses: actions/upload-artifact@v4
119+
uses: actions/upload-artifact@v5
120120
with:
121121
name: ${{ steps.prepareArtifact.outputs.zygiskDebugName }}
122122
path: "./LSPosed-zygisk-debug/*"
123123

124124
- name: Upload mappings
125-
uses: actions/upload-artifact@v4
125+
uses: actions/upload-artifact@v5
126126
with:
127127
name: mappings
128128
path: |
129129
magisk-loader/build/outputs/mapping
130130
app/build/outputs/mapping
131131
132132
- name: Upload symbols
133-
uses: actions/upload-artifact@v4
133+
uses: actions/upload-artifact@v5
134134
with:
135135
name: symbols
136136
path: build/symbols

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ apache/local/generated
99
.DS_Store
1010
/build
1111
/captures
12+
bin/

apache/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ java {
1818
val lang3Src = "commons-lang/src/main/java/org/apache/commons/lang3"
1919
val localDir = "local/generated"
2020

21-
task<Copy>("ClassUtilsX") {
21+
tasks.register<Copy>("ClassUtilsX") {
2222
from("$lang3Src/ClassUtils.java")
2323
into(localDir)
2424
filter { line: String -> line.replace("ClassUtils", "ClassUtilsX") }
2525
rename("(.+).java", "$1X.java")
2626
}
2727

28-
task<Copy>("SerializationUtilsX") {
28+
tasks.register<Copy>("SerializationUtilsX") {
2929
from("$lang3Src/SerializationUtils.java")
3030
into(localDir)
3131
filter { line: String -> line.replace("SerializationUtils", "SerializationUtilsX") }

apache/commons-lang

Submodule commons-lang updated 166 files

gradle/libs.versions.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions]
2-
agp = "8.12.0"
3-
kotlin = "2.2.0"
4-
nav = "2.9.3"
2+
agp = "8.13.0"
3+
kotlin = "2.2.20"
4+
nav = "2.9.5"
55
appcenter = "5.0.5"
66
libxposed = "100"
7-
glide = "4.16.0"
8-
okhttp = "5.1.0"
7+
glide = "5.0.5"
8+
okhttp = "5.2.0"
99

1010
[plugins]
1111
agp-lib = { id = "com.android.library", version.ref = "agp" }
@@ -31,12 +31,12 @@ rikkax-recyclerview = { module = "dev.rikka.rikkax.recyclerview:recyclerview-ktx
3131
rikkax-widget-borderview = { module = "dev.rikka.rikkax.widget:borderview", version = "1.1.0" }
3232
rikkax-widget-mainswitchbar = { module = "dev.rikka.rikkax.widget:mainswitchbar", version = "1.0.2" }
3333

34-
androidx-activity = { module = "androidx.activity:activity", version = "1.10.1" }
34+
androidx-activity = { module = "androidx.activity:activity", version = "1.11.0" }
3535
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.9.1" }
3636
androidx-browser = { module = "androidx.browser:browser", version = "1.9.0" }
3737
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version = "2.2.1" }
38-
androidx-core = { module = "androidx.core:core", version = "1.16.0" }
39-
androidx-fragment = { module = "androidx.fragment:fragment", version = "1.8.8" }
38+
androidx-core = { module = "androidx.core:core", version = "1.17.0" }
39+
androidx-fragment = { module = "androidx.fragment:fragment", version = "1.8.9" }
4040
androidx-navigation-fragment = { group = "androidx.navigation", name = "navigation-fragment", version.ref = "nav" }
4141
androidx-navigation-ui = { group = "androidx.navigation", name = "navigation-ui", version.ref = "nav" }
4242
androidx-preference = { module = "androidx.preference:preference", version = "1.2.1" }
@@ -53,7 +53,7 @@ okhttp-logging-interceptor = { group = "com.squareup.okhttp3", name = "logging-i
5353
agp-apksig = { group = "com.android.tools.build", name = "apksig", version.ref = "agp" }
5454
appiconloader = { module = "me.zhanghai.android.appiconloader:appiconloader", version = "1.5.0" }
5555
material = { module = "com.google.android.material:material", version = "1.12.0" }
56-
gson = { module = "com.google.code.gson:gson", version = "2.13.1" }
56+
gson = { module = "com.google.code.gson:gson", version = "2.13.2" }
5757
hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "6.1" }
5858
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
5959
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version = "1.10.2" }

gradle/wrapper/gradle-wrapper.jar

1.83 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)