Files
morphe-patches-template/patches/build.gradle.kts
T

46 lines
937 B
Kotlin

group = "app.template"
patches {
about {
name = "UserXYZ Patches"
description = "Patches for apps I like"
source = "[email protected]:UserXYZ/morphe-patches.git"
author = "Awesome dev"
contact = "na"
website = "na"
license = "GPLv3"
}
}
kotlin {
compilerOptions {
freeCompilerArgs.add("-Xcontext-parameters")
}
}
dependencies {
// Used by JsonGenerator.
implementation(libs.gson)
}
tasks {
register<JavaExec>("generatePatchesList") {
description = "Build patch with patch list"
dependsOn(build)
classpath = sourceSets["main"].runtimeClasspath
mainClass.set("app.morphe.util.PatchListGeneratorKt")
}
// Used by gradle-semantic-release-plugin.
publish {
dependsOn("generatePatchesList")
}
}
kotlin {
compilerOptions {
freeCompilerArgs = listOf("-Xcontext-receivers")
}
}