-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow building with Java 20 and later versions
Update the KotlinCompile args to add `-Xjdk-release=1.8` which is the equivalent of the `--release 8` argument when compiling Java code. This will ensure that we only use APIs which are in Java 1.8 and not added in later versions. This fixes compiler warnings around use of `new URL(String)` which is deprecated starting in Java 20.
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters