Skip to content

Commit

Permalink
Added java toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Dueris committed Jun 25, 2023
1 parent 83606a7 commit bd9d0d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ repositories {
}
}

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}

dependencies {
paperweight.paperDevBundle("1.20.1-R0.1-SNAPSHOT")
Expand Down Expand Up @@ -76,4 +79,4 @@ publishing {
from components.java
}
}
}
}

0 comments on commit bd9d0d8

Please sign in to comment.