Skip to content

Commit

Permalink
Replace axml by WindySha/ManifestEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMatrix committed May 18, 2024
1 parent b6e6740 commit be6e7a0
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "external/cxx"]
path = external/cxx
url = https://github.com/topjohnwu/libcxx.git
[submodule "patch/libs/manifest-editor"]
path = axml/libs/manifest-editor
url = https://github.com/WindySha/ManifestEditor.git
1 change: 1 addition & 0 deletions axml/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
17 changes: 17 additions & 0 deletions axml/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
val androidSourceCompatibility: JavaVersion by rootProject.extra
val androidTargetCompatibility: JavaVersion by rootProject.extra

plugins {
id("java-library")
}

java {
sourceCompatibility = androidSourceCompatibility
targetCompatibility = androidTargetCompatibility
sourceSets {
main {
java.srcDirs("libs/manifest-editor/lib/src/main/java")
resources.srcDirs("libs/manifest-editor/lib/src/main")
}
}
}
1 change: 1 addition & 0 deletions axml/libs/manifest-editor
Submodule manifest-editor added at 1eddf6
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ copy {
dependencies {
api(libs.libxposed.api)
implementation(libs.commons.lang3)
implementation(libs.axml)
implementation(projects.axml)
implementation(projects.hiddenapi.bridge)
implementation(projects.services.daemonService)
implementation(projects.services.managerService)
Expand Down
1 change: 0 additions & 1 deletion core/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@
}
-repackageclasses
-allowaccessmodification
-dontwarn org.slf4j.impl.StaticLoggerBinder
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ okhttp-logging-interceptor = { group = "com.squareup.okhttp3", name = "logging-i

agp-apksig = { group = "com.android.tools.build", name = "apksig", version.ref = "agp" }
appiconloader = { module = "me.zhanghai.android.appiconloader:appiconloader", version = "1.5.0" }
axml = { module = "de.upb.cs.swt:axml", version = "2.1.3" }
commons-lang3 = { module = "org.apache.commons:commons-lang3", version = "3.14.0" }
material = { module = "com.google.android.material:material", version = "1.11.0" }
gson = { module = "com.google.code.gson:gson", version = "2.10.1" }
Expand Down
1 change: 0 additions & 1 deletion magisk-loader/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
}
-repackageclasses
-allowaccessmodification
-dontwarn org.slf4j.impl.StaticLoggerBinder
-dontwarn org.lsposed.lspd.core.*
-dontwarn org.lsposed.lspd.util.Hookers
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencyResolutionManagement {
rootProject.name = "LSPosed"
include(
":app",
":axml",
":core",
":daemon",
":dex2oat",
Expand Down

0 comments on commit be6e7a0

Please sign in to comment.