11plugins {
22 id ' groovy'
33 id ' java'
4- id ' pl.allegro.tech.build.axion-release' version ' 1.7.1 '
4+ id ' pl.allegro.tech.build.axion-release' version ' 1.14.0 '
55 id ' io.github.gradle-nexus.publish-plugin' version ' 2.0.0'
66}
77
88group ' org.rundeck.plugins'
99
10+ java {
11+ toolchain {
12+ languageVersion = JavaLanguageVersion . of(11 )
13+ }
14+ }
15+
1016ext. publishName = " Multiline Regex Datacapture Filter ${ project.version} "
1117ext. publishDescription = project. description ?: ' Multiline Regex Datacapture Filter Plugin'
1218ext. githubSlug = ' rundeck-plugins/multiline-regex-datacapture-filter-plugin'
1319ext. developers = [
1420 [
id :
' gschueler' ,
name :
' Greg Schueler' ,
email :
' [email protected] ' ]
1521]
1622
17- ext. rundeckVersion= ' 5.14 .0-rc1-20250722 '
23+ ext. rundeckVersion= ' 5.16 .0-20251006 '
1824defaultTasks ' clean' ,' build'
1925ext. rundeckPluginVersion= ' 1.2'
2026group ' org.rundeck.plugins'
@@ -24,15 +30,6 @@ scmVersion {
2430 tag {
2531 prefix = ' '
2632 versionSeparator = ' '
27- def origDeserialize= deserialize
28- // apend .0 to satisfy semver if the tag version is only X.Y
29- deserialize = { config , position , tagName ->
30- def orig = origDeserialize(config, position, tagName)
31- if (orig. split(' \\ .' ). length < 3 ) {
32- orig + = " .0"
33- }
34- orig
35- }
3633 }
3734}
3835
@@ -55,19 +52,19 @@ configurations{
5552 // declare custom pluginLibs configuration to include only libs for this plugin
5653 pluginLibs
5754
58- // declare compile to extend from pluginLibs so it inherits the dependencies
59- compile {
55+ // declare implementation to extend from pluginLibs so it inherits the dependencies
56+ implementation {
6057 extendsFrom pluginLibs
6158 }
6259}
6360
6461
6562dependencies {
66- implementation ' org.codehaus .groovy:groovy-all:2.3.11 '
67- testImplementation group : ' junit' , name : ' junit' , version : ' 4.12 '
63+ implementation ' org.apache .groovy:groovy-all:4.0.21 '
64+ testImplementation group : ' junit' , name : ' junit' , version : ' 4.13.2 '
6865
6966 implementation group : ' org.rundeck' , name : ' rundeck-core' , version : rundeckVersion
70- testImplementation " org.spockframework:spock-core:0.7 -groovy-2 .0"
67+ testImplementation " org.spockframework:spock-core:2.3 -groovy-4 .0"
7168
7269}
7370
8885 attributes ' Rundeck-Plugin-File-Version' : version
8986 attributes ' Rundeck-Plugin-Version' : rundeckPluginVersion, ' Rundeck-Plugin-Archive' : ' true'
9087 attributes ' Rundeck-Plugin-Libs' : " ${ libList} "
91- attributes ' Main-Class' : " io.github.valfadeev.rundeck.plugin.vault.VaultStoragePlugin"
9288 attributes ' Class-Path' : " ${ libList} lib/rundeck-core-${ rundeckVersion} .jar"
9389 }
9490}
0 commit comments