revanced-cli/revanced-cli/build.gradle.kts
oSumAtrIX 8da0c2bdfe
build(Needs bump): Remove dummy publish task
The dummy task is not required anymore because the existing publish task is used by ReVanced Library
2023-09-20 06:39:32 +02:00

44 lines
929 B
Plaintext

plugins {
kotlin("jvm") version "1.9.0"
alias(libs.plugins.shadow)
}
dependencies {
implementation(project(":revanced-lib"))
implementation(libs.revanced.patcher)
implementation(libs.kotlinx.coroutines.core)
implementation(libs.picocli)
testImplementation(libs.kotlin.test)
}
kotlin { jvmToolchain(11) }
tasks {
test {
useJUnitPlatform()
testLogging {
events("PASSED", "SKIPPED", "FAILED")
}
}
processResources {
expand("projectVersion" to project.version)
}
shadowJar {
manifest {
attributes("Main-Class" to "app.revanced.cli.command.MainCommandKt")
}
minimize {
exclude(dependency("org.jetbrains.kotlin:.*"))
exclude(dependency("org.bouncycastle:.*"))
exclude(dependency("app.revanced:.*"))
}
}
build {
dependsOn(shadowJar)
}
}