Skip to content

Commit

Permalink
bump to jdk17
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Dietisheim <[email protected]>
  • Loading branch information
adietish committed Apr 25, 2024
1 parent 3f3d199 commit 9a84fd0
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
buildscript {
ext.ideaVersion = ideaVersion
/*
* for more complex conversion ideaVersion -> sinceIdeaBuild
* see https://github.com/rhdunn/xquery-intellij-plugin/blob/master/build.gradle#L1-L47
*/
def since = ideaVersion =~ /IC-20(\d\d)\.([1-3])(\.\d+)?$/
if (since.matches()) {
ext.sinceIdeaBuild = "${since.group(1)}${since.group(2)}".toInteger()
}

if (ext.sinceIdeaBuild >= 223) {
ext.java_version = "17"
} else {
ext.java_version = "11"
}
ext.java_version = "17"
}

plugins {
Expand Down

0 comments on commit 9a84fd0

Please sign in to comment.