chore: deps: add libxposed-api

This commit is contained in:
ACh Sulfate
2024-07-22 22:24:43 +08:00
parent 5f0de23240
commit a877381571
6 changed files with 28 additions and 2 deletions

3
.gitmodules vendored
View File

@@ -37,3 +37,6 @@
path = libs/LSPlant
url = https://github.com/LSPosed/LSPlant
shallow = true
[submodule "libs/libxposed/api"]
path = libs/libxposed/api
url = https://github.com/libxposed/api

View File

@@ -0,0 +1 @@
<manifest />

1
libs/libxposed/api Submodule

Submodule libs/libxposed/api added at 55efdf9d15

View File

@@ -0,0 +1,20 @@
plugins {
id("build-logic.android.library")
}
android {
namespace = "io.github.libxposed.api"
sourceSets {
val main by getting
main.apply {
manifest.srcFile("AndroidManifest.xml")
java.setSrcDirs(listOf("api/api/src/main/java"))
}
}
dependencies {
// androidx nullability stubs
compileOnly(libs.androidx.annotation)
}
}

View File

@@ -15,6 +15,6 @@ android {
dependencies {
// androidx nullability stubs
compileOnly("androidx.annotation:annotation:1.8.0")
compileOnly(libs.androidx.annotation)
}
}

View File

@@ -41,7 +41,7 @@ includeBuild("build-logic")
plugins {
id("com.gradle.develocity") version "3.17.5"
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.8.0")
}
develocity {
@@ -69,4 +69,5 @@ include(
":libs:dexkit",
":libs:ezXHelper",
":libs:xView",
":libs:libxposed",
)