Skip to content

Commit fa4aebd

Browse files
authored
build: switch default java version to 17 (#159)
1 parent 9aee914 commit fa4aebd

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,12 @@ allprojects {
3333
}
3434
}
3535

36-
tasks.withType<Test> {
37-
useJUnitPlatform()
38-
testLogging {
39-
showStandardStreams = true
40-
}
41-
}
42-
4336
// configure checkstyle version
4437
checkstyle {
4538
toolVersion = "10.0"
4639
maxErrors = 0 // does not tolerate errors
4740
}
4841

49-
repositories {
50-
mavenCentral()
51-
}
52-
5342
// let's not generate any reports because that is done from within the Github Actions workflow
5443
tasks.withType<Checkstyle> {
5544
reports {

plugins/edc-build/src/main/java/org/eclipse/edc/plugins/edcbuild/conventions/JavaConvention.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
class JavaConvention implements EdcConvention {
2929

30-
private static final int DEFAULT_JAVA_VERSION = 11;
30+
private static final int DEFAULT_JAVA_VERSION = 17;
3131

3232
@Override
3333
public void apply(Project target) {
@@ -53,4 +53,5 @@ public void apply(Project target) {
5353
javaPluginExt.withJavadocJar();
5454
javaPluginExt.withSourcesJar();
5555
}
56+
5657
}

0 commit comments

Comments
 (0)