build: generate version and changelogs from commit log
This commit is contained in:
parent
0fab731289
commit
6aa10157eb
@ -1,12 +1,14 @@
|
|||||||
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java")
|
||||||
id("org.jetbrains.intellij") version "1.17.3"
|
id("org.jetbrains.intellij") version "1.17.3"
|
||||||
kotlin("jvm") version "1.9.22"
|
kotlin("jvm") version "1.9.22"
|
||||||
kotlin("plugin.serialization") version "1.9.22"
|
kotlin("plugin.serialization") version "1.9.22"
|
||||||
|
id("jf.autoversion") version "1.6-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "io.gitlab.jfronny"
|
group = "io.gitlab.jfronny"
|
||||||
version = "1.2-SNAPSHOT"
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -42,18 +44,19 @@ tasks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
patchPluginXml {
|
patchPluginXml {
|
||||||
sinceBuild.set("241")
|
sinceBuild = "241"
|
||||||
untilBuild.set("242.*")
|
untilBuild = "242.*"
|
||||||
|
changeNotes = changelogHtml
|
||||||
}
|
}
|
||||||
|
|
||||||
signPlugin {
|
signPlugin {
|
||||||
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
|
certificateChain = System.getenv("CERTIFICATE_CHAIN")
|
||||||
privateKey.set(System.getenv("PRIVATE_KEY"))
|
privateKey = System.getenv("PRIVATE_KEY")
|
||||||
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
|
password = System.getenv("PRIVATE_KEY_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|
||||||
publishPlugin {
|
publishPlugin {
|
||||||
token.set(System.getenv("PUBLISH_TOKEN"))
|
token = System.getenv("PUBLISH_TOKEN")
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
|
@ -2,6 +2,12 @@ pluginManagement {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
|
maven("https://maven.frohnmeyer-wds.de/artifacts") {
|
||||||
|
content {
|
||||||
|
includeGroup("io.gitlab.jfronny")
|
||||||
|
includeGroup("jf.autoversion")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user