Skip to content

Commit

Permalink
Use Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Mar 13, 2023
1 parent 4bad511 commit db539b4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contribution Guide

The project is build with Gradle and written in Java 8.
The project is build with Gradle and written in Java 11.

To start working on it simply clone and run `./gradlew build`. See the section [below](#Eclipse) on building and editing with Eclipse for step-by-step instructions.

Expand Down
2 changes: 1 addition & 1 deletion gradle/java-compiler-settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
******************************************************************************/

sourceCompatibility = '1.8'
sourceCompatibility = '11'

tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
Expand Down
2 changes: 1 addition & 1 deletion gradle/manifest-gen.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def qualifiedVersion = baseVersion + '.v' + buildTime
jar.bnd (
'Bundle-Version': qualifiedVersion,
'Bundle-Vendor': 'Eclipse LSP4J',
'Bundle-RequiredExecutionEnvironment': 'JavaSE-1.8',
'Bundle-RequiredExecutionEnvironment': 'JavaSE-11',
"-exportcontents": "org.eclipse.lsp4j.*",
"-savemanifest": "$buildDir/tmp/bnd/MANIFEST.MF",
)
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.lsp4j/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
ext.title = 'LSP4J'
description = 'Java bindings for the Language Server Protocol'

sourceCompatibility = '1.8'
targetCompatibility = '1.8'
sourceCompatibility = '11'
targetCompatibility = '11'

dependencies {
compileOnly project(":org.eclipse.lsp4j.generator")
Expand Down
2 changes: 1 addition & 1 deletion releng/build.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pipeline {
}
tools {
maven 'apache-maven-latest'
jdk 'oracle-jdk8-latest'
jdk 'openjdk-jdk11-latest'
}
options {
timestamps()
Expand Down

0 comments on commit db539b4

Please sign in to comment.