Skip to content

Commit 5408510

Browse files
committed
Move assets and RadarListVisibility, RadarListEntry, GsonLocalDateTimeAdapter and GsonRadarListPlayerMapAdapter to common module
1 parent 9424d26 commit 5408510

File tree

14 files changed

+13
-234
lines changed

14 files changed

+13
-234
lines changed

common/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
import org.gradle.kotlin.dsl.libs
2+
13
base {
24
archivesName.set("common")
35
}
46

7+
@Suppress("VulnerableLibrariesLocal") // some libs need to stay at the game versions
58
dependencies {
6-
// empty
9+
compileOnly(rootProject.libs.jetbrainsJavaAnnotations)
10+
compileOnly(rootProject.libs.gson)
711
}

common/src/main/java/io/github/communityradargg/forgemod/.gitkeep

Whitespace-only changes.

common/src/main/resources/.gitkeep

Whitespace-only changes.

gradle/libs.versions.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ ggEssentialLoom = "1.11.37"
44
spotless = "7.2.1"
55

66
# libraries
7+
# general libs
8+
jetbrainsJavaAnnotations = "26.0.2-1"
9+
gson = "2.2.4" # needs to stay on 1.8.9 version
10+
711
# 1.8.9 (Forge)
812
minecraft189 = "1.8.9"
913
mcpMappings189 = "22-1.8.9"
@@ -15,6 +19,10 @@ mcpMappings1122 = "39-1.12"
1519
forge1122 = "1.12.2-14.23.5.2847"
1620

1721
[libraries]
22+
# general libraries
23+
jetbrainsJavaAnnotations = { group = "org.jetbrains", name = "annotations", version.ref = "jetbrainsJavaAnnotations" }
24+
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
25+
1826
# 1.8.9 (Forge)
1927
minecraft189 = { group = "com.mojang", name = "minecraft", version.ref = "minecraft189" }
2028
mcpMappings189 = { group = "de.oceanlabs.mcp", name = "mcp_stable", version.ref = "mcpMappings189" }

versions/1.12.2/src/main/java/io/github/communityradargg/forgemod/radarlistmanager/RadarListEntry.java

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)