Skip to content

Commit

Permalink
[build] Require JDK 11 as our minimum. (#1123)
Browse files Browse the repository at this point in the history
Context: 738de61

When multiple JDK's are found, a JDK 8 might be chosen.

Specify `JdkInfo.MinimumJdkVersion="11"` to ensure we use
JDK-11 or newer.
  • Loading branch information
jpobst authored Jun 8, 2023
1 parent 99d45d3 commit 32b920f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-tools/scripts/Prepare.targets
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<JdkInfo
JdksRoot="$(JdksRoot)"
MakeFragmentFile="$(MSBuildThisFileDirectory)..\..\bin\Build$(Configuration)\JdkInfo.mk"
MinimumJdkVersion="11"
MaximumJdkVersion="$(_MaxJdk)"
DotnetToolPath="$(DotnetToolPath)"
PropertyFile="$(_TopDir)\bin\Build$(Configuration)\JdkInfo.props">
Expand Down

0 comments on commit 32b920f

Please sign in to comment.