Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Add PatchListGenerator (#6)
This commit is contained in:
1 parent
01b9822788
commit
2f671f4daa
16 files changed
+1056
-668
No files matched your search
@@ -17,3 +17,29 @@ kotlin {
|
||||
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")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user