Bump to 5.0

This commit is contained in:
LoveSy 2022-09-16 20:18:13 +08:00
parent 1c50c6b808
commit 9324d71097
No known key found for this signature in database
2 changed files with 13 additions and 5 deletions

View File

@ -27,15 +27,23 @@ repositories {
mavenCentral() mavenCentral()
} }
dependencies {
implementation "org.lsposed.lsplant:lsplant:4.2"
}
android { android {
buildFeatures { buildFeatures {
prefab true prefab true
} }
} }
dependencies {
implementation "org.lsposed.lsplant:lsplant:5.0"
}
```
If you don't want to include `libc++_shared.so` in your APK, you can use `lsplant-standalone` instead:
```gradle
dependencies {
implementation "org.lsposed.lsplant:lsplant-standalone:5.0"
}
``` ```
### 1. Init LSPlant within JNI_OnLoad ### 1. Init LSPlant within JNI_OnLoad

View File

@ -160,7 +160,7 @@ publishing {
publications { publications {
fun MavenPublication.setup() { fun MavenPublication.setup() {
group = "org.lsposed.lsplant" group = "org.lsposed.lsplant"
version = "4.2" version = "5.0"
pom { pom {
name.set("LSPlant") name.set("LSPlant")
description.set("A hook framework for Android Runtime (ART)") description.set("A hook framework for Android Runtime (ART)")