mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2025-12-23 22:58:22 -05:00
53 lines
1.1 KiB
Groovy
53 lines
1.1 KiB
Groovy
apply plugin: 'org.jreleaser'
|
|
|
|
jreleaser {
|
|
project {
|
|
name = 'sdkman-cli'
|
|
version = sdkmanVersion
|
|
description = 'Sdkman - The Software Development Kit Manager'
|
|
website = 'https://sdkman.io'
|
|
authors = ['Marco Vermeulen']
|
|
license = 'Apache-2.0'
|
|
extraProperties.put('inceptionYear', '2012')
|
|
}
|
|
|
|
release {
|
|
github {
|
|
overwrite = true
|
|
tagName = '{{projectVersion}}'
|
|
changelog {
|
|
formatted = 'ALWAYS'
|
|
format = '- {{commitShortHash}} {{commitTitle}}'
|
|
contributors {
|
|
format = '- {{contributorName}}'
|
|
}
|
|
contentTemplate = file('src/jreleaser/changelog.tpl')
|
|
hide {
|
|
contributors = ['GitHub']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
distributions {
|
|
'sdkman-cli' {
|
|
distributionType = 'BINARY'
|
|
artifact {
|
|
path = "build/distributions/{{distributionName}}-${sdkmanVersion}.zip"
|
|
extraProperties.put("universal", "true")
|
|
}
|
|
}
|
|
}
|
|
|
|
announce {
|
|
twitter {
|
|
active = 'RELEASE'
|
|
status = 'Released version {{tagName}} of SDKMAN! {{releaseNotesUrl}}'
|
|
}
|
|
mastodon {
|
|
active = 'RELEASE'
|
|
status = 'Released version {{tagName}} of SDKMAN! {{releaseNotesUrl}}'
|
|
host = 'https://fosstodon.org'
|
|
}
|
|
}
|
|
} |