revanced-patcher/build.gradle.kts

59 lines
1.2 KiB
Text
Raw Normal View History

2022-03-16 22:00:41 +01:00
plugins {
2023-07-05 22:35:12 +02:00
kotlin("jvm") version "1.8.20"
`maven-publish`
alias(libs.plugins.binary.compatibility.validator)
2022-03-16 22:00:41 +01:00
}
group = "app.revanced"
2022-03-16 22:00:41 +01:00
dependencies {
implementation(libs.kotlinx.coroutines.core)
implementation(libs.xpp3)
implementation(libs.smali)
implementation(libs.multidexlib2)
implementation(libs.apktool.lib)
implementation(libs.kotlin.reflect)
compileOnly(libs.android)
testImplementation(libs.kotlin.test)
2022-06-20 17:07:04 +02:00
}
2022-03-18 20:46:24 +01:00
2022-04-08 22:49:37 +02:00
tasks {
test {
useJUnitPlatform()
testLogging {
events("PASSED", "SKIPPED", "FAILED")
}
2022-04-08 22:49:37 +02:00
}
2022-09-08 14:41:42 +02:00
processResources {
expand("projectVersion" to project.version)
}
2022-04-08 22:49:37 +02:00
}
kotlin { jvmToolchain(11) }
2023-08-26 19:10:29 +02:00
java {
withSourcesJar()
}
publishing {
repositories {
mavenLocal()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/revanced/revanced-patcher")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
create<MavenPublication>("gpr") {
from(components["java"])
}
}
}