-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,46 +27,46 @@ group = "com.hivemq" | |
description = "HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5" | ||
|
||
metadata { | ||
readableName.set("HiveMQ Community Edition") | ||
readableName = "HiveMQ Community Edition" | ||
organization { | ||
name.set("HiveMQ GmbH") | ||
url.set("https://www.hivemq.com/") | ||
name = "HiveMQ GmbH" | ||
url = "https://www.hivemq.com/" | ||
} | ||
license { | ||
apache2() | ||
} | ||
developers { | ||
register("cschaebe") { | ||
fullName.set("Christoph Schaebel") | ||
email.set("[email protected]") | ||
fullName = "Christoph Schaebel" | ||
email = "[email protected]" | ||
} | ||
register("lbrandl") { | ||
fullName.set("Lukas Brandl") | ||
email.set("[email protected]") | ||
fullName = "Lukas Brandl" | ||
email = "[email protected]" | ||
} | ||
register("flimpoeck") { | ||
fullName.set("Florian Limpoeck") | ||
email.set("[email protected]") | ||
fullName = "Florian Limpoeck" | ||
email = "[email protected]" | ||
} | ||
register("sauroter") { | ||
fullName.set("Georg Held") | ||
email.set("[email protected]") | ||
fullName = "Georg Held" | ||
email = "[email protected]" | ||
} | ||
register("SgtSilvio") { | ||
fullName.set("Silvio Giebl") | ||
email.set("[email protected]") | ||
fullName = "Silvio Giebl" | ||
email = "[email protected]" | ||
} | ||
} | ||
github { | ||
org.set("hivemq") | ||
repo.set("hivemq-community-edition") | ||
org = "hivemq" | ||
repo = "hivemq-community-edition" | ||
issues() | ||
} | ||
} | ||
|
||
java { | ||
toolchain { | ||
languageVersion.set(JavaLanguageVersion.of(11)) | ||
languageVersion = JavaLanguageVersion.of(11) | ||
} | ||
withJavadocJar() | ||
withSourcesJar() | ||
|
@@ -213,7 +213,7 @@ val hivemqZip by tasks.registering(Zip::class) { | |
|
||
val name = "hivemq-ce-${project.version}" | ||
|
||
archiveFileName.set("$name.zip") | ||
archiveFileName = "$name.zip" | ||
|
||
from("src/distribution") { exclude("**/.gitkeep") } | ||
from("src/main/resources/config.xml") { into("conf") } | ||
|
@@ -229,13 +229,13 @@ oci { | |
} | ||
} | ||
imageDefinitions.register("main") { | ||
imageName.set("hivemq/hivemq-ce") | ||
imageName = "hivemq/hivemq-ce" | ||
allPlatforms { | ||
parentImages { | ||
add("library:eclipse-temurin:sha256!7ee0d51696b3c314bdb96d7a9931140ef2499cc95dccab4dfddbaf2fe59f51a5") // 21.0.2_13-jre-jammy | ||
} | ||
config { | ||
creationTime.set(Instant.EPOCH) | ||
creationTime = Instant.EPOCH | ||
user = "10000" | ||
ports = setOf("1883", "8000") | ||
environment = mapOf( | ||
|
@@ -250,7 +250,7 @@ oci { | |
} | ||
layers { | ||
layer("hivemq") { | ||
metadata { creationTime.set(Instant.EPOCH) } | ||
metadata { creationTime = Instant.EPOCH } | ||
contents { | ||
into("opt") { | ||
filePermissions = 0b110_110_000 | ||
|
@@ -328,9 +328,9 @@ downloadLicenses { | |
|
||
tasks.updateThirdPartyLicenses { | ||
dependsOn(tasks.downloadLicenses) | ||
projectName.set("HiveMQ") | ||
dependencyLicense.set(tasks.downloadLicenses.get().xmlDestination.resolve("dependency-license.xml")) | ||
outputDirectory.set(layout.projectDirectory.dir("src/distribution/third-party-licenses")) | ||
projectName = "HiveMQ" | ||
dependencyLicense = tasks.downloadLicenses.get().xmlDestination.resolve("dependency-license.xml") | ||
outputDirectory = layout.projectDirectory.dir("src/distribution/third-party-licenses") | ||
} | ||
|
||
/* ******************** publishing ******************** */ | ||
|