1
mirror of https://github.com/revanced/revanced-patcher synced 2024-11-27 18:13:37 +01:00
revanced-patcher/build.gradle.kts

51 lines
969 B
Plaintext
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"))
2022-04-03 23:51:01 +02:00
implementation("com.github.lanchon.dexpatcher:multidexlib2:2.3.4.r2")
implementation("org.smali:smali:2.3.4")
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"])
}
}
}