revanced-patcher/build.gradle.kts

86 lines
2 KiB
Text
Raw Normal View History

2022-03-16 22:00:41 +01:00
plugins {
2023-08-27 04:47:07 +02:00
kotlin("jvm") version "1.9.0"
alias(libs.plugins.binary.compatibility.validator)
2023-08-27 04:47:07 +02:00
`maven-publish`
signing
java
2022-03-16 22:00:41 +01:00
}
2023-10-14 19:18:57 +02:00
group = "app.revanced"
2023-08-27 04:47:07 +02:00
2023-10-14 19:18:57 +02:00
tasks {
processResources {
expand("projectVersion" to project.version)
2023-08-27 04:47:07 +02:00
}
2023-10-14 19:18:57 +02:00
test {
useJUnitPlatform()
testLogging {
events("PASSED", "SKIPPED", "FAILED")
}
2023-08-27 04:47:07 +02:00
}
2023-10-14 19:18:57 +02:00
}
2023-08-27 04:47:07 +02:00
2023-10-14 19:18:57 +02:00
repositories {
mavenCentral()
mavenLocal()
maven { url = uri("https://jitpack.io") }
google()
}
dependencies {
implementation(libs.kotlinx.coroutines.core)
implementation(libs.xpp3)
implementation(libs.smali)
implementation(libs.multidexlib2)
implementation(libs.apktool.lib)
implementation(libs.kotlin.reflect)
2023-08-27 04:47:07 +02:00
2023-10-14 19:18:57 +02:00
compileOnly(libs.android)
testImplementation(libs.kotlin.test)
}
java {
withJavadocJar()
withSourcesJar()
}
kotlin {
jvmToolchain(11)
}
publishing {
publications {
create<MavenPublication>("revanced-patcher-publication") {
from(components["java"])
version = project.version.toString()
pom {
name = "ReVanced Patcher"
description = "Patcher used by ReVanced."
url = "https://revanced.app"
licenses {
license {
name = "GNU General Public License v3.0"
url = "https://www.gnu.org/licenses/gpl-3.0.en.html"
}
}
developers {
developer {
id = "ReVanced"
name = "ReVanced"
email = "contact@revanced.app"
}
}
scm {
connection = "scm:git:git://github.com/revanced/revanced-patcher.git"
developerConnection = "scm:git:git@github.com:revanced/revanced-patcher.git"
url = "https://github.com/revanced/revanced-patcher"
}
2023-08-27 04:47:07 +02:00
}
}
}
2023-10-14 19:18:57 +02:00
}