This commit is contained in:
2022-02-13 22:33:55 +08:00
parent 9db1281b21
commit 51e215fdc9
2 changed files with 15 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm'
id 'maven-publish'
}
java {
@@ -16,4 +17,17 @@ dependencies {
compileOnly 'de.robv.android.xposed:api:82'
compileOnly fileTree(include: ['android-stub.jar'], dir: 'libs')
implementation 'androidx.annotation:annotation:1.3.0'
}
publishing {
repositories {
maven {
name = "PublishGitHubPackages"
url = "https://maven.pkg.github.com/fankes/YukiHookAPI"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}