Skip to content

Commit

Permalink
Changed to use Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Greazi-Times committed Oct 2, 2024
1 parent 9c10096 commit 8598eae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def artifactId = 'GradleBasePlugin'
// /---> Major Version - Increment this when you make a breaking change
// | /---> Minor Version - Increment this when you add a new feature
// | | /---> Patch Version - Increment this when you make a bug fix
def versionNum = '4.4.0'
def versionNum = '4.5.0-BETA'

group = groupId
version = versionNum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class GradleBasePlugin implements Plugin<Project> {
};

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

Expand Down Expand Up @@ -81,8 +81,8 @@ public void apply(Project project) {
private void afterProjectEvaluation(Project project) {
// Setting properties
project.setProperty("version", meta.pluginVersion);
project.setProperty("sourceCompatibility", "1.8");
project.setProperty("targetCompatibility", "1.8");
project.setProperty("sourceCompatibility", "17");
project.setProperty("targetCompatibility", "17");

if (!meta.configValid()) {
Logger.error(
Expand Down

0 comments on commit 8598eae

Please sign in to comment.