Skip to content

Commit 8d1a8d4

Browse files
Decrease jar file size by approx. 100 mb
1 parent 149970a commit 8d1a8d4

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
plugins {
2-
id("java-gradle-plugin")
32
id("java")
43
}
54

@@ -37,8 +36,8 @@ dependencies {
3736
implementation("com.badlogicgames.gdx:gdx-freetype:1.12.0")
3837
// https://mvnrepository.com/artifact/com.badlogicgames.gdx/gdx-backend-lwjgl
3938
implementation("com.badlogicgames.gdx:gdx-backend-lwjgl:1.12.0")
40-
api("com.badlogicgames.gdx:gdx-platform:1.12.0:natives-desktop")
41-
api("com.badlogicgames.gdx:gdx-freetype-platform:1.12.0:natives-desktop")
39+
implementation("com.badlogicgames.gdx:gdx-platform:1.12.0:natives-desktop")
40+
implementation("com.badlogicgames.gdx:gdx-freetype-platform:1.12.0:natives-desktop")
4241
}
4342

4443
tasks.test {

src/main/java/dk/sdu/mmmi/modulemon/Player/PlayerPlugin.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import dk.sdu.mmmi.modulemon.CommonMap.Data.World;
1212
import dk.sdu.mmmi.modulemon.CommonMap.Services.IGamePluginService;
1313
import dk.sdu.mmmi.modulemon.common.data.GameKeys;
14-
import org.jetbrains.annotations.NotNull;
15-
import org.w3c.dom.Text;
1614

1715
import java.util.*;
1816

@@ -72,7 +70,6 @@ private static List<Texture> getWalkingAnimation(String direction){
7270
return getAnimation(direction, "walking", 8);
7371
}
7472

75-
@NotNull
7673
private static List<Texture> getAnimation(String direction, String action, int frameCount) {
7774
List<Texture> sprites = new ArrayList<>();
7875
for (int i = 1; i <= frameCount; i++) {

0 commit comments

Comments
 (0)