revanced-patcher/build.gradle.kts

50 lines
1 KiB
Text
Raw Normal View History

2022-03-16 22:00:41 +01:00
plugins {
kotlin("jvm") version "1.6.10"
java
`maven-publish`
2022-03-16 22:00:41 +01:00
}
group = "app.revanced"
2022-03-16 22:00:41 +01:00
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
implementation("com.github.lanchon.dexpatcher:multidexlib2:2.3.4")
implementation("io.github.microutils:kotlin-logging:2.1.21")
testImplementation("ch.qos.logback:logback-classic:1.2.11") // use your own logger!
testImplementation(kotlin("test"))
2022-03-18 20:46:24 +01:00
}
tasks.test {
useJUnitPlatform()
testLogging {
events("PASSED", "SKIPPED", "FAILED")
}
2022-03-18 20:46:24 +01:00
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ReVancedTeam/revanced-patcher")
credentials {
2022-03-20 20:32:17 +01:00
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
register<MavenPublication>("gpr") {
from(components["java"])
}
}
}