Migrate eclipse setup to use Java 17

This commit is contained in:
Phillip Webb 2022-09-06 17:57:37 -07:00
parent bf0fc837dd
commit 8f51cd0e9d
1 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@
label="Checkout Location"/> label="Checkout Location"/>
<setupTask <setupTask
xsi:type="jdt:JRETask" xsi:type="jdt:JRETask"
version="JavaSE-1.8" version="JavaSE-17"
location="${jre.location-1.8}"> location="${jre.location-17}">
<description> <description>
Define the JRE needed to compile and run the Java Define the JRE needed to compile and run the Java
projects of ${scope.project.label} projects of ${scope.project.label}
@ -117,14 +117,14 @@
</setupTask> </setupTask>
<setupTask <setupTask
xsi:type="oomph:GradleImportTask" xsi:type="oomph:GradleImportTask"
javaHome="${jre.location-1.8}"> javaHome="${jre.location-17}">
<sourceLocator <sourceLocator
rootFolder="${checkout.location}" rootFolder="${checkout.location}"
locateNestedProjects="true"/> locateNestedProjects="true"/>
</setupTask> </setupTask>
<setupTask <setupTask
xsi:type="oomph:GradleImportTask" xsi:type="oomph:GradleImportTask"
javaHome="${jre.location-1.8}"> javaHome="${jre.location-17}">
<sourceLocator <sourceLocator
rootFolder="${checkout.location}/buildSrc"/> rootFolder="${checkout.location}/buildSrc"/>
</setupTask> </setupTask>