|
|
@ -14,6 +14,7 @@ plugins { |
|
|
|
id("com.github.vlsi.crlf") |
|
|
|
id("com.github.vlsi.crlf") |
|
|
|
id("com.github.vlsi.gradle-extensions") |
|
|
|
id("com.github.vlsi.gradle-extensions") |
|
|
|
id("com.github.vlsi.stage-vote-release") |
|
|
|
id("com.github.vlsi.stage-vote-release") |
|
|
|
|
|
|
|
id("org.ajoberstar.grgit") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
val skipJavadoc by props() |
|
|
|
val skipJavadoc by props() |
|
|
@ -21,7 +22,11 @@ val enableMavenLocal by props(false) |
|
|
|
val enableGradleMetadata by props() |
|
|
|
val enableGradleMetadata by props() |
|
|
|
val skipAutostyle by props(false) |
|
|
|
val skipAutostyle by props(false) |
|
|
|
val isRelease = project.stringProperty("release").toBool() |
|
|
|
val isRelease = project.stringProperty("release").toBool() |
|
|
|
val snapshotName by props("") |
|
|
|
val snapshotName = if (project.props.bool("useBranchSnapshotName")) { |
|
|
|
|
|
|
|
System.getenv("GITHUB_HEAD_REF") ?: grgit.branch.current()?.name |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
project.stringProperty("snapshotName") |
|
|
|
|
|
|
|
} ?: "" |
|
|
|
|
|
|
|
|
|
|
|
val String.v: String get() = rootProject.extra["$this.version"] as String |
|
|
|
val String.v: String get() = rootProject.extra["$this.version"] as String |
|
|
|
val projectVersion = "darklaf".v |
|
|
|
val projectVersion = "darklaf".v |
|
|
|