Skip to content

Commit

Permalink
Merge pull request #537 from BlueMap-Minecraft/wip/v5
Browse files Browse the repository at this point in the history
V5 (WIP)
  • Loading branch information
TBlueF authored Jun 3, 2024
2 parents a640285 + 4a38a74 commit fbac48c
Show file tree
Hide file tree
Showing 1,070 changed files with 13,672 additions and 15,979 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
java-version: |
16
17
21
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew clean spotlessCheck test build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
java-version: |
16
17
21
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew clean :BlueMapCore:publish :BlueMapCommon:publish
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ release.md

# exclude generated resource
BlueMapCommon/src/main/resources/de/bluecolored/bluemap/webapp.zip
BlueMapCore/src/main/resources/de/bluecolored/bluemap/*/resourceExtensions.zip
BlueMapCore/src/main/resources/de/bluecolored/bluemap/resourceExtensions.zip

#exclude-test-data
data/test-render
2 changes: 1 addition & 1 deletion BlueMapAPI
Submodule BlueMapAPI updated 23 files
+2 −3 build.gradle.kts
+1 −1 gradle/wrapper/gradle-wrapper.properties
+1 −0 src/main/java/de/bluecolored/bluemap/api/AssetStorage.java
+16 −23 src/main/java/de/bluecolored/bluemap/api/BlueMapAPI.java
+4 −8 src/main/java/de/bluecolored/bluemap/api/BlueMapMap.java
+0 −5 src/main/java/de/bluecolored/bluemap/api/BlueMapWorld.java
+2 −7 src/main/java/de/bluecolored/bluemap/api/RenderManager.java
+4 −2 src/main/java/de/bluecolored/bluemap/api/WebApp.java
+2 −2 src/main/java/de/bluecolored/bluemap/api/debug/DebugDump.java
+3 −2 src/main/java/de/bluecolored/bluemap/api/gson/MarkerGson.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/DistanceRangedMarker.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/ExtrudeMarker.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/HtmlMarker.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/LineMarker.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/Marker.java
+0 −3 src/main/java/de/bluecolored/bluemap/api/markers/MarkerSet.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/ObjectMarker.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/markers/ShapeMarker.java
+0 −3 src/main/java/de/bluecolored/bluemap/api/math/Color.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/math/Line.java
+0 −2 src/main/java/de/bluecolored/bluemap/api/math/Shape.java
+1 −4 src/main/java/de/bluecolored/bluemap/api/plugin/Plugin.java
10 changes: 6 additions & 4 deletions BlueMapCommon/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ repositories {

dependencies {
api ("com.mojang:brigadier:1.0.17")

api ("de.bluecolored.bluemap:BlueMapCore")

compileOnly ("org.jetbrains:annotations:16.0.2")
compileOnly ("org.projectlombok:lombok:1.18.30")
compileOnly ("org.projectlombok:lombok:1.18.32")

annotationProcessor ("org.projectlombok:lombok:1.18.30")
annotationProcessor ("org.projectlombok:lombok:1.18.32")

testImplementation ("org.junit.jupiter:junit-jupiter:5.8.2")
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.8.2")
Expand Down Expand Up @@ -69,12 +70,14 @@ tasks.test {
useJUnitPlatform()
}

tasks.register("buildWebapp", type = NpmTask::class) {
tasks.clean {
doFirst {
if (!file("webapp/dist/").deleteRecursively())
throw IOException("Failed to delete build directory!")
}
}

tasks.register("buildWebapp", type = NpmTask::class) {
dependsOn ("npmInstall")
args.set(listOf("run", "build"))

Expand All @@ -88,7 +91,6 @@ tasks.register("zipWebapp", type = Zip::class) {
archiveFileName.set("webapp.zip")
destinationDirectory.set(file("src/main/resources/de/bluecolored/bluemap/"))

//outputs.upToDateWhen { false }
inputs.dir("webapp/dist/")
outputs.file("src/main/resources/de/bluecolored/bluemap/webapp.zip")
}
Expand Down
Binary file removed BlueMapCommon/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions BlueMapCommon/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

234 changes: 0 additions & 234 deletions BlueMapCommon/gradlew

This file was deleted.

89 changes: 0 additions & 89 deletions BlueMapCommon/gradlew.bat

This file was deleted.

Loading

0 comments on commit fbac48c

Please sign in to comment.