Skip to content

Commit

Permalink
Update codenarc
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz committed Nov 14, 2024
1 parent d56225c commit 3af21c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ val includedLibs: Configuration by configurations.creating
val gradlePluginJpi: Configuration by configurations.creating { isCanBeConsumed = true; isCanBeResolved = false }

dependencies {
"codenarc"("org.codehaus.groovy:groovy-all:3.0.21")
"codenarc"("org.codenarc:CodeNarc:1.6.1")

api(platform("io.jenkins.tools.bom:bom-${coreBaseVersion}.x:${coreBomVersion}"))

implementation("org.jenkins-ci.plugins:jackson2-api")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MavenExtensionsDetectorTest extends Specification {
dir {
'.mvn' {
'extensions.xml'(generateExtensionsXml(
*(extensions.collect({ MavenCoordinates.parseCoordinates(it) }))))
*(extensions.collect { MavenCoordinates.parseCoordinates(it) })))
}
}

Expand Down Expand Up @@ -68,9 +68,9 @@ class MavenExtensionsDetectorTest extends Specification {
dir {
'.mvn' {
'extensions.xml'(
generateExtensionsXml(
MavenCoordinates.parseCoordinates('my:ext:1.0'),
MavenCoordinates.parseCoordinates('my:ext-ccud:1.0')))
generateExtensionsXml(
MavenCoordinates.parseCoordinates('my:ext:1.0'),
MavenCoordinates.parseCoordinates('my:ext-ccud:1.0')))
}
}

Expand Down

0 comments on commit 3af21c0

Please sign in to comment.