Skip to content

Commit 8598eae

Browse files
committed
Changed to use Java 17
1 parent 9c10096 commit 8598eae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def artifactId = 'GradleBasePlugin'
1212
// /---> Major Version - Increment this when you make a breaking change
1313
// | /---> Minor Version - Increment this when you add a new feature
1414
// | | /---> Patch Version - Increment this when you make a bug fix
15-
def versionNum = '4.4.0'
15+
def versionNum = '4.5.0-BETA'
1616

1717
group = groupId
1818
version = versionNum

src/main/java/me/TechsCode/GradeBasePlugin/GradleBasePlugin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class GradleBasePlugin implements Plugin<Project> {
2525
};
2626

2727
private static final String[] dependencies = new String[] {
28-
"compileOnly#org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT",
28+
"compileOnly#org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT",
2929
"compileOnly#net.md-5:bungeecord-api:1.21-R0.1-SNAPSHOT"
3030
};
3131

@@ -81,8 +81,8 @@ public void apply(Project project) {
8181
private void afterProjectEvaluation(Project project) {
8282
// Setting properties
8383
project.setProperty("version", meta.pluginVersion);
84-
project.setProperty("sourceCompatibility", "1.8");
85-
project.setProperty("targetCompatibility", "1.8");
84+
project.setProperty("sourceCompatibility", "17");
85+
project.setProperty("targetCompatibility", "17");
8686

8787
if (!meta.configValid()) {
8888
Logger.error(

0 commit comments

Comments
 (0)