mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
46 lines
920 B
Text
46 lines
920 B
Text
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.9.0"
|
|
alias(libs.plugins.binary.compatibility.validator)
|
|
`maven-publish`
|
|
signing
|
|
java
|
|
}
|
|
|
|
val publicationVersion = project.version.toString()
|
|
|
|
subprojects {
|
|
apply(plugin = "maven-publish")
|
|
apply(plugin = "signing")
|
|
apply(plugin = "java")
|
|
apply(plugin ="kotlin")
|
|
|
|
group = "app.revanced"
|
|
version = publicationVersion
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url = uri("https://jitpack.io") }
|
|
google()
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
}
|
|
|
|
configure<KotlinJvmProjectExtension> {
|
|
kotlin { jvmToolchain(11) }
|
|
}
|
|
|
|
tasks {
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events("PASSED", "SKIPPED", "FAILED")
|
|
}
|
|
}
|
|
}
|
|
}
|