Skip to content

Commit c080ab8

Browse files
committed
Test using JDK 21
1 parent e9515ed commit c080ab8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/nebula.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
# test against latest update of some major Java version(s), as well as specific LTS version(s)
25-
java: [ 8, 17, 20]
25+
java: [ 8, 17, 21]
2626
name: Gradle Build without Publish
2727
steps:
2828
- uses: actions/checkout@v1

src/test/groovy/com/netflix/nebula/lint/plugin/Gradle8LintReportTaskSpec.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import spock.lang.Issue
55

66
class Gradle8LintReportTaskSpec extends IntegrationTestKitSpec {
77
def setup() {
8-
gradleVersion = '8.1.1'
8+
gradleVersion = '8.4-rc-2'
99
debug = true
1010
}
1111

src/test/groovy/com/netflix/nebula/lint/rule/dependency/BypassedForcesWithResolutionRulesSpec.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ test.nebula:a:1.2.0\n""")
264264
coreAlignment << [true]
265265
}
266266

267-
@IgnoreIf({ jvm.isJava20() })
267+
@IgnoreIf({ jvm.isJava21() })
268268
def 'handles dependencies and forces defined per project | core alignment #coreAlignment'() {
269269
definePluginOutsideOfPluginBlock = true
270270
//Necessary as 8.x does not have force support
@@ -868,7 +868,7 @@ test.nebula:a:1.3.0\n""")
868868
}
869869

870870
@Unroll
871-
@IgnoreIf({ jvm.isJava20() })
871+
@IgnoreIf({ jvm.isJava21() })
872872
def 'ignores buildscript dependencies for #type'() {
873873
//Necessary as 8.x does not have force support
874874
gradleVersion = '7.6'

src/test/groovy/com/netflix/nebula/lint/rule/dependency/UndeclaredDependencyRuleSpec.groovy

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class UndeclaredDependencyRuleSpec extends IntegrationTestKitSpec {
2626
private static final def sample = new Coordinate('sample', 'alpha', '1.0')
2727
private static final def commonsLogging = new Coordinate('commons-logging', 'commons-logging', '1.2')
2828
private static final def commonsLang = new Coordinate('commons-lang', 'commons-lang', '2.6')
29-
private static final def lombok = new Coordinate('org.projectlombok', 'lombok', '1.18.22')
29+
private static final def lombok = new Coordinate('org.projectlombok', 'lombok', '1.18.30')
3030
private static final def junit = new Coordinate('junit', 'junit', '4.12')
3131

3232
def main = '''
@@ -157,7 +157,7 @@ class UndeclaredDependencyRuleSpec extends IntegrationTestKitSpec {
157157
}
158158
}
159159
dependencies {
160-
classpath "io.freefair.gradle:lombok-plugin:6.6.1"
160+
classpath "io.freefair.gradle:lombok-plugin:8.3"
161161
}
162162
}
163163
@@ -665,7 +665,7 @@ class UndeclaredDependencyRuleSpec extends IntegrationTestKitSpec {
665665
}
666666
}
667667
dependencies {
668-
classpath "io.freefair.gradle:lombok-plugin:6.6.1"
668+
classpath "io.freefair.gradle:lombok-plugin:8.3"
669669
}
670670
}
671671

0 commit comments

Comments
 (0)