diff --git a/build.gradle b/build.gradle index c1000472d..516b4c9d2 100644 --- a/build.gradle +++ b/build.gradle @@ -9,21 +9,17 @@ config { issueTracker = 'https://github.com/redis-developer/${project.rootProject.name}/issues' scm = 'https://github.com/redis-developer/${project.rootProject.name}.git' } - scm { url = "https://github.com/redis-developer/${project.rootProject.name}" connection = "scm:git:https://github.com/redis-developer/${project.rootProject.name}.git" developerConnection = "scm:git:git@github.com:redis-developer/${project.rootProject.name}.git" } - specification { enabled = true } - implementation { enabled = true } - people { person { id = 'jruaux' @@ -31,8 +27,12 @@ config { roles = ['developer', 'author'] } } + publishing { + signing { + enabled = true + } + } } - licensing { enabled = false licenses { @@ -41,16 +41,16 @@ config { } } } - docs { javadoc { - enabled = false + autoLinks { + enabled = false + } } sourceHtml { enabled = false } } - } allprojects { @@ -95,6 +95,46 @@ jreleaser { github { owner = 'redis-developer' overwrite = true + changelog { + enabled = true + formatted = 'ALWAYS' + change = '- {{commitShortHash}} {{commitTitle}}' + labeler { + label = 'feature' + title = 'Resolves #' + body = 'Resolves #' + } + labeler { + label = 'issue' + title = 'Fixes #' + body = 'Fixes #' + } + labeler { + label = 'issue' + title = 'Relates to #' + body = 'Relates to #' + } + labeler { + label = 'task' + title = '[chore]' + } + category { + title = '🚀 Features' + labels = ['feature'] + } + category { + title = '✅ Issues' + labels = ['issue'] + } + category { + title = '🧰 Tasks' + labels = ['task'] + } + replacer { + search = '\\[chore\\]\\s' + replace = '' + } + } } } distributions {