Skip to content

Commit 8c3539b

Browse files
committed
Update java to 11
1 parent e195892 commit 8c3539b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ext {
2525
]
2626
}
2727
28-
sourceCompatibility = 1.8
28+
sourceCompatibility = 11
2929
3030
repositories {
3131
mavenCentral()

build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ subprojects { project ->
102102

103103
java {
104104
toolchain {
105-
languageVersion = JavaLanguageVersion.of(8)
105+
languageVersion = JavaLanguageVersion.of(11)
106106
}
107107
}
108108
tasks.withType(JavaCompile).configureEach {
@@ -250,7 +250,7 @@ tasks.register('alljavadoc', Javadoc) {
250250
splitIndex = true
251251
noTree = true
252252
title = "commercetools Java SDK"
253-
links 'https://docs.oracle.com/javase/8/docs/api/', "https://fasterxml.github.io/jackson-databind/javadoc/2.14/", 'https://commercetools.github.io/commercetools-jvm-sdk/apidocs/', 'https://newrelic.github.io/java-agent-api/javadoc/'
253+
links 'https://docs.oracle.com/javase/11/docs/api/', "https://fasterxml.github.io/jackson-databind/javadoc/2.14/", 'https://commercetools.github.io/commercetools-jvm-sdk/apidocs/', 'https://newrelic.github.io/java-agent-api/javadoc/'
254254
overview = "src/main/javadoc/overview.html"
255255
bottom = """
256256
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/styles/default.min.css">
@@ -280,7 +280,7 @@ tasks.register('alljavadoc', Javadoc) {
280280
],
281281
"Monitoring" : ["com.commercetools.monitoring.*"]
282282
]
283-
addStringOption('source', '8')
283+
addStringOption('source', '11')
284284
}
285285

286286
doLast {
@@ -310,7 +310,7 @@ tasks.register('internaldocs', Javadoc) {
310310
splitIndex = true
311311
noTree = true
312312
title = "commercetools Java SDK"
313-
links 'https://docs.oracle.com/javase/8/docs/api/', "https://fasterxml.github.io/jackson-databind/javadoc/2.14/", 'https://commercetools.github.io/commercetools-jvm-sdk/apidocs/', 'https://newrelic.github.io/java-agent-api/javadoc/'
313+
links 'https://docs.oracle.com/javase/11/docs/api/', "https://fasterxml.github.io/jackson-databind/javadoc/2.14/", 'https://commercetools.github.io/commercetools-jvm-sdk/apidocs/', 'https://newrelic.github.io/java-agent-api/javadoc/'
314314
overview = "src/main/javadoc/overview.html"
315315
bottom = """
316316
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.8.0/styles/default.min.css">
@@ -340,7 +340,7 @@ tasks.register('internaldocs', Javadoc) {
340340
],
341341
"Monitoring" : ["com.commercetools.monitoring.*"]
342342
]
343-
addStringOption('source', '8')
343+
addStringOption('source', '11')
344344
}
345345

346346
doLast {

gradle-scripts/subproject-config.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ javadoc {
3232
splitIndex = true
3333
noTree = true
3434
title = "commercetools Java SDK"
35-
links 'https://docs.oracle.com/javase/8/docs/api/', "https://fasterxml.github.io/jackson-databind/javadoc/2.14/", 'https://commercetools.github.io/commercetools-jvm-sdk/apidocs/', 'https://newrelic.github.io/java-agent-api/javadoc/'
35+
links 'https://docs.oracle.com/javase/11/docs/api/', "https://fasterxml.github.io/jackson-databind/javadoc/2.14/", 'https://commercetools.github.io/commercetools-jvm-sdk/apidocs/', 'https://newrelic.github.io/java-agent-api/javadoc/'
3636
maxMemory = '2g'
3737
addBooleanOption('-allow-script-in-comments', true)
3838
addStringOption('Xdoclint:missing,accessibility,reference', '-quiet')
39-
addStringOption('source', '8')
39+
addStringOption('source', '11')
4040
encoding = 'utf-8'
4141
taglets = ['com.commercetools.taglets.CodeTaglet', 'com.commercetools.taglets.ToCTaglet', 'com.commercetools.taglets.FileIncludeTaglet', 'org.jdrupes.taglets.plantUml.StartUml', 'org.jdrupes.taglets.plantUml.EndUml', 'org.jdrupes.taglets.plantUml.PlantUml']
4242
bottom = """

0 commit comments

Comments
 (0)