Skip to content

Commit

Permalink
Added gradle stuff to support Java 17 because I'm using JDK 18
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowSnakz committed Aug 7, 2022
1 parent d91db2b commit 532389b
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-18/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
2 changes: 2 additions & 0 deletions lib/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
3 changes: 0 additions & 3 deletions lib/bin/main/.gitignore

This file was deleted.

Binary file modified lib/bin/main/com/elementalwoof/foods/CustomItem.class
Binary file not shown.
Binary file modified lib/bin/main/com/elementalwoof/foods/CustomRecipe.class
Binary file not shown.
Binary file modified lib/bin/main/com/elementalwoof/foods/ElementalFoods.class
Binary file not shown.
Binary file modified lib/bin/main/com/elementalwoof/foods/FoodsCommand.class
Binary file not shown.
Binary file modified lib/bin/main/com/elementalwoof/foods/InventoryEvents.class
Binary file not shown.
Binary file modified lib/bin/main/com/elementalwoof/foods/OtherEvents.class
Binary file not shown.
Binary file modified lib/bin/main/com/elementalwoof/foods/PlayerEvents.class
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/bin/main/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main: com.elementalwoof.foods.ElementalFoods
name: ElementalFoods
version: 1.0
version: 1.1
description: Custom foods and drinks, as well as Crafting said foods and drinks!
api-version: 1.19
author: ElementalWoof
Expand Down
4 changes: 4 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ dependencies {
compileOnly 'org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT' // The Spigot API with no shadowing. Requires the OSS repo.
}

java {
sourceCompatibility = "1.17"
targetCompatibility = "1.18"
}
2 changes: 1 addition & 1 deletion lib/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
main: com.elementalwoof.foods.ElementalFoods
name: ElementalFoods
version: 1.0
version: 1.1
description: Custom foods and drinks, as well as Crafting said foods and drinks!
api-version: 1.19
author: ElementalWoof
Expand Down

0 comments on commit 532389b

Please sign in to comment.