This reverts commit 03d2cea093
This commit is contained in:
parent
594733bc25
commit
4b75c8af79
|
|
@ -40,6 +40,18 @@ jobs:
|
||||||
echo ${{ secrets.KEY_STORE }} | base64 --decode > key.jks
|
echo ${{ secrets.KEY_STORE }} | base64 --decode > key.jks
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Checkout libxposed/api
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: libxposed/api
|
||||||
|
path: libxposed/api
|
||||||
|
|
||||||
|
- name: Checkout libxposed/service
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: libxposed/service
|
||||||
|
path: libxposed/service
|
||||||
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -59,6 +71,17 @@ jobs:
|
||||||
restore-keys: ${{ runner.os }}
|
restore-keys: ${{ runner.os }}
|
||||||
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
|
|
||||||
|
- name: Build dependencies
|
||||||
|
working-directory: libxposed
|
||||||
|
run: |
|
||||||
|
cd api
|
||||||
|
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
|
||||||
|
./gradlew :api:publishApiPublicationToMavenLocal
|
||||||
|
cd ..
|
||||||
|
cd service
|
||||||
|
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
|
||||||
|
./gradlew :interface:publishInterfacePublicationToMavenLocal
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: |
|
run: |
|
||||||
echo 'org.gradle.parallel=true' >> gradle.properties
|
echo 'org.gradle.parallel=true' >> gradle.properties
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
import com.android.build.api.dsl.ApplicationExtension
|
import com.android.build.api.dsl.ApplicationExtension
|
||||||
import com.android.ide.common.signing.KeystoreHelper
|
import com.android.ide.common.signing.KeystoreHelper
|
||||||
import java.io.PrintStream
|
import java.io.PrintStream
|
||||||
import java.util.*
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.agp.app)
|
alias(libs.plugins.agp.app)
|
||||||
|
|
|
||||||
|
|
@ -63,3 +63,6 @@ gson = { module = "com.google.code.gson:gson", version = "2.10.1" }
|
||||||
hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "4.3" }
|
hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "4.3" }
|
||||||
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
|
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
|
||||||
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version = "1.7.1" }
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version = "1.7.1" }
|
||||||
|
|
||||||
|
libxposed-api = { group = "io.github.libxposed", name = "api", version.ref = "libxposed" }
|
||||||
|
libxposed-interface = { group = "io.github.libxposed", name = "interface", version.ref = "libxposed" }
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
import java.net.URI
|
|
||||||
|
|
||||||
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
|
|
@ -15,25 +13,14 @@ dependencyResolutionManagement {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
mavenLocal {
|
||||||
versionCatalogs {
|
content {
|
||||||
create("libs") {
|
includeGroup("io.github.libxposed")
|
||||||
library("libxposed-api", "io.github.libxposed", "api").version {
|
|
||||||
branch = "master"
|
|
||||||
}
|
|
||||||
library("libxposed-interface", "io.github.libxposed", "interface").version {
|
|
||||||
branch = "master"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
versionCatalogs {
|
||||||
|
create("libs")
|
||||||
sourceControl {
|
|
||||||
gitRepository(URI.create("https://github.com/libxposed/api.git")) {
|
|
||||||
producesModule("io.github.libxposed:api")
|
|
||||||
}
|
|
||||||
gitRepository(URI.create("https://github.com/libxposed/service.git")) {
|
|
||||||
producesModule("io.github.libxposed:interface")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue