Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.17.2'
alias(libs.plugins.axionRelease)
id 'groovy'
id 'java'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
alias(libs.plugins.nexusPublish)
}

group 'org.rundeck.plugins'
Expand All @@ -15,6 +15,8 @@ ext.developers = [

scmVersion {
ignoreUncommittedChanges = false
// Maintain simple tag-based versioning without branch name suffixes (Axion 1.18+)
versionCreator 'simple'
tag {
prefix = '' // NO "v" prefix - see PLUGIN_TAGGING_ARCHITECTURE.md
versionSeparator = ''
Expand Down Expand Up @@ -64,26 +66,22 @@ repositories {
}

dependencies {
implementation 'org.apache.groovy:groovy-all:4.0.29'
compileOnly 'org.rundeck:rundeck-core:6.0.0-alpha1-20260407'
testImplementation 'org.rundeck:rundeck-core:6.0.0-alpha1-20260407'
implementation libs.groovyAll
compileOnly libs.rundeckCore
testImplementation libs.rundeckCore

// Apache HTTP client dependencies for compilation (http-step bundles these but doesn't expose them transitively)
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
// Version 3.18.0 fixes CVE-2025-48924 (StackOverflowError in ClassUtils)
implementation 'org.apache.commons:commons-lang3:3.20.0'
implementation libs.httpclient
// Version 3.20.0 fixes CVE-2025-48924 (StackOverflowError in ClassUtils)
implementation libs.commonsLang3

// Bundle http-step plugin in lib/ directory for runtime
// Use transitive=false to avoid duplicating dependencies already bundled in http-step JAR
pluginLibs ('org.rundeck.plugins:http-step:1.1.20-grails7') {
pluginLibs (libs.httpStep) {
transitive = false
}

testImplementation group: 'junit', name: 'junit', version: '4.13.2'
testImplementation "org.apache.groovy:groovy-all:4.0.29"
testImplementation "org.spockframework:spock-core:2.4-groovy-4.0"
testImplementation "net.bytebuddy:byte-buddy:1.14.11"
testImplementation 'org.objenesis:objenesis:3.4'
testImplementation libs.bundles.testLibs
}


Expand All @@ -98,7 +96,7 @@ jar {
def libList = configurations.pluginLibs.collect{'lib/' + it.name}.join(' ')
attributes 'Rundeck-Plugin-Name' : pluginName
attributes 'Rundeck-Plugin-Description' : pluginDescription
attributes 'Rundeck-Plugin-Rundeck-Compatibility-Version': '2.10.1+'
attributes 'Rundeck-Plugin-Rundeck-Compatibility-Version': '6.0.0+'
attributes 'Rundeck-Plugin-Tags': 'java,notification'
attributes 'Rundeck-Plugin-License': 'Apache 2.0'
attributes 'Rundeck-Plugin-Source-Link': 'https://github.com/rundeck-plugins/http-notification'
Expand Down
34 changes: 34 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[versions]
axionRelease = "1.18.18"
groovy = "4.0.29"
rundeckCore = "6.0.0-alpha1-20260407"
nexusPublish = "2.0.0"
httpclient = "4.5.14"
commonsLang3 = "3.20.0"
httpStep = "2.0.0"
junit = "4.13.2"
Comment on lines +6 to +9
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version catalog sets httpStep = "2.0.0", which upgrades the bundled runtime dependency from org.rundeck.plugins:http-step:1.1.20-grails7 (per the previous build.gradle). This is a functional/runtime change beyond “standardizing dependency management”; please either keep the previous http-step version or explicitly call out/justify the upgrade (and confirm compatibility with the targeted Rundeck versions).

Copilot uses AI. Check for mistakes.
spock = "2.4-groovy-4.0"
bytebuddy = "1.14.11"
objenesis = "3.4"

[libraries]
rundeckCore = { group = "org.rundeck", name = "rundeck-core", version.ref = "rundeckCore" }
groovyAll = { group = "org.apache.groovy", name = "groovy-all", version.ref = "groovy" }

# HTTP dependencies
httpclient = { group = "org.apache.httpcomponents", name = "httpclient", version.ref = "httpclient" }
commonsLang3 = { group = "org.apache.commons", name = "commons-lang3", version.ref = "commonsLang3" }
httpStep = { group = "org.rundeck.plugins", name = "http-step", version.ref = "httpStep" }

# Testing
junit = { group = "junit", name = "junit", version.ref = "junit" }
spockCore = { group = "org.spockframework", name = "spock-core", version.ref = "spock" }
bytebuddy = { group = "net.bytebuddy", name = "byte-buddy", version.ref = "bytebuddy" }
objenesis = { group = "org.objenesis", name = "objenesis", version.ref = "objenesis" }

[bundles]
testLibs = ["groovyAll", "junit", "spockCore", "bytebuddy", "objenesis"]

[plugins]
axionRelease = { id = "pl.allegro.tech.build.axion-release", version.ref = "axionRelease" }
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexusPublish" }
2 changes: 0 additions & 2 deletions jitpack.yml

This file was deleted.

Loading