Skip to content

Commit eb6046d

Browse files
committed
Merge branch 'master' of https://github.com/LSPosed/LSPlant into aliucord
2 parents 627e042 + 16c6820 commit eb6046d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1768
-1596
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: yujincheng08

.github/dependabot.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,8 @@ updates:
55
schedule:
66
interval: daily
77
time: "21:00"
8-
open-pull-requests-limit: 10
98
target-branch: master
10-
registries:
11-
- maven-google
12-
- gralde-plugin
13-
14-
registries:
15-
maven-google:
16-
type: maven-repository
17-
url: "https://dl.google.com/dl/android/maven2/"
18-
gralde-plugin:
19-
type: maven-repository
20-
url: "https://plugins.gradle.org/m2/"
9+
groups:
10+
maven-dependencies:
11+
patterns:
12+
- "*"

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ ubuntu-latest, windows-latest, macos-13 ]
18+
os: [ ubuntu-latest, windows-latest, macos-14 ]
1919

2020
steps:
2121
- name: Check out
@@ -30,11 +30,17 @@ jobs:
3030
distribution: 'temurin'
3131
java-version: '17'
3232
cache: 'gradle'
33+
- uses: seanmiddleditch/gha-setup-ninja@master
34+
with:
35+
version: 1.12.0
3336
- name: ccache
3437
uses: hendrikmuhs/ccache-action@v1
3538
with:
3639
key: ${{ runner.os }}-${{ github.sha }}
3740
restore-keys: ${{ runner.os }}
41+
- name: Remove Android's cmake
42+
shell: bash
43+
run: rm -rf $ANDROID_HOME/cmake
3844
- name: Build with Gradle
3945
run: |
4046
ccache -o cache_dir=${{ github.workspace }}/.ccache
@@ -157,6 +163,9 @@ jobs:
157163
distribution: 'temurin'
158164
java-version: '17'
159165
cache: 'gradle'
166+
- uses: seanmiddleditch/gha-setup-ninja@master
167+
with:
168+
version: 1.12.0
160169
- name: ccache
161170
uses: hendrikmuhs/ccache-action@v1
162171
with:
@@ -175,6 +184,7 @@ jobs:
175184
arch: ${{ matrix.arch }}
176185
target: ${{ matrix.target }}
177186
script: |
187+
rm -rf $ANDROID_HOME/cmake
178188
ccache -o cache_dir=${{ github.workspace }}/.ccache
179189
ccache -o hash_dir=false
180190
ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'

.github/workflows/maven.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ jobs:
1717
- name: Set up JDK 17
1818
uses: actions/setup-java@v4
1919
with:
20-
distribution: 'zulu'
20+
distribution: 'temurin'
2121
java-version: '17'
2222
cache: 'gradle'
23+
- uses: seanmiddleditch/gha-setup-ninja@master
24+
with:
25+
version: 1.12.0
2326
- name: Build with Gradle
24-
run: ./gradlew :lsplant:publish
27+
run: |
28+
rm -rf $ANDROID_HOME/cmake
29+
./gradlew :lsplant:publish
2530
env:
2631
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
2732
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LSPlant
22

33
![](https://img.shields.io/badge/license-LGPL--3.0-orange.svg)
4-
![](https://img.shields.io/badge/Android-5.0%20--%2014-blue.svg)
4+
![](https://img.shields.io/badge/Android-5.0%20--%2015%20Beta2-blue.svg)
55
![](https://img.shields.io/badge/arch-armeabi--v7a%20%7C%20arm64--v8a%20%7C%20x86%20%7C%20x86--64%7C%20riscv64-brightgreen.svg)
66
![](https://github.com/LSPosed/LSPlant/actions/workflows/build.yml/badge.svg?branch=master&event=push)
77
![](https://img.shields.io/maven-central/v/org.lsposed.lsplant/lsplant.svg)
@@ -12,7 +12,7 @@ This project is part of LSPosed framework under GNU Lesser General Public Licens
1212

1313
## Features
1414

15-
+ Support Android 5.0 - 14 (API level 21 - 34)
15+
+ Support Android 5.0 - 15 Beta2 (API level 21 - 35)
1616
+ Support armeabi-v7a, arm64-v8a, x86, x86-64, riscv64
1717
+ Support customized inline hook framework and ART symbol resolver
1818

@@ -38,15 +38,15 @@ android {
3838
}
3939
4040
dependencies {
41-
implementation "org.lsposed.lsplant:lsplant:5.2"
41+
implementation "org.lsposed.lsplant:lsplant:+"
4242
}
4343
```
4444

4545
If you don't want to include `libc++_shared.so` in your APK, you can use `lsplant-standalone` instead:
4646

4747
```gradle
4848
dependencies {
49-
implementation "org.lsposed.lsplant:lsplant-standalone:5.2"
49+
implementation "org.lsposed.lsplant:lsplant-standalone:+"
5050
}
5151
```
5252

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
plugins {
22
}
33

4-
val androidTargetSdkVersion by extra(34)
4+
val androidTargetSdkVersion by extra(35)
55
val androidMinSdkVersion by extra(21)
6-
val androidBuildToolsVersion by extra("34.0.0")
7-
val androidCompileSdkVersion by extra(34)
8-
val androidNdkVersion by extra("26.1.10909125")
9-
val androidCmakeVersion by extra("3.22.1+")
6+
val androidBuildToolsVersion by extra("35.0.0")
7+
val androidCompileSdkVersion by extra(35)
8+
val androidNdkVersion by extra("27.0.12077973")
9+
val androidCmakeVersion by extra("3.28.0+")

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ android.nonTransitiveRClass=true
22
android.useAndroidX=true
33
android.experimental.testOptions.managedDevices.allowOldApiLevelDevices=true
44
android.library.defaults.buildfeatures.androidresources=false
5-
android.defaults.buildfeatures.buildconfig=true
65
android.nonFinalResIds=false

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.2.2"
2+
agp = "8.5.2"
33

44
[plugins]
55
agp-app = { id = "com.android.application", version.ref = "agp" }
@@ -9,9 +9,9 @@ lsplugin-publish = { id = "org.lsposed.lsplugin.publish", version = "1.1" }
99
lsplugin-cmaker = { id = "org.lsposed.lsplugin.cmaker", version = "1.2" }
1010

1111
[libraries]
12-
cxx = { module = "dev.rikka.ndk.thirdparty:cxx", version = "1.2.0" }
12+
cxx = { module = "org.lsposed.libcxx:libcxx", version = "27.0.12077973" }
1313
dobby = { module = "io.github.vvb2060.ndk:dobby", version = "1.2" }
14-
test-ext-junit = { module = "androidx.test.ext:junit", version = "1.1.5" }
15-
test-runner = { module = "androidx.test:runner", version = "1.5.2" }
16-
test-espresso = { module = "androidx.test.espresso:espresso-core", version = "3.5.1" }
14+
test-ext-junit = { module = "androidx.test.ext:junit", version = "1.2.1" }
15+
test-runner = { module = "androidx.test:runner", version = "1.6.1" }
16+
test-espresso = { module = "androidx.test.espresso:espresso-core", version = "3.6.1" }
1717

gradle/wrapper/gradle-wrapper.jar

42 Bytes
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.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)