From 0cf617b55acdf91fb8c3b121873fcdcc9ffc00c2 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Sat, 27 Nov 2021 23:42:18 -0800 Subject: [PATCH] Moved tools into backend dependencies and old tools into tools:old Moved gdx-backend-lwjgl dependency from impl to testImpl in :core Created backend tool libraries for headless, lwjgl, lwjgl3 --- .run/AnimationTool.run.xml | 2 +- .run/BinGenerationTool.run.xml | 2 +- .run/COF_Finder.run.xml | 2 +- .run/D2_Finder.run.xml | 4 +- .run/ExcelGenerationTool.run.xml | 2 +- core/build.gradle | 2 +- settings.gradle | 6 +- tools/backends/backend-core/build.gradle | 11 +++ .../java/com/riiablo/tool/AbstractTool.java | 0 .../src/main/java/com/riiablo/tool/Tool.java | 0 tools/backends/backend-headless/build.gradle | 5 + .../java/com/riiablo/tool/HeadlessTool.java | 0 tools/backends/backend-lwjgl/build.gradle | 6 ++ .../main/java/com/riiablo/tool/LwjglTool.java | 0 tools/backends/backend-lwjgl3/build.gradle | 6 ++ .../java/com/riiablo/tool/Lwjgl3Tool.java | 92 +++++++++++++++++++ tools/build.gradle | 35 +------ tools/camera/build.gradle | 1 + tools/d2s-reader/build.gradle | 1 + tools/direction/build.gradle | 1 + tools/excel-serializer-generator/build.gradle | 1 + tools/font-metrics/build.gradle | 1 + tools/map-debugger/build.gradle | 1 + tools/map-viewer/build.gradle | 1 + tools/mpq-viewer/build.gradle | 1 + .../main/java/com/riiablo/mpq/MPQViewer.java | 4 +- tools/old/build.gradle | 17 ++++ .../main/java/com/riiablo/AnimationTool.java | 0 .../java/com/riiablo/BreakpointsTool.java | 4 +- .../java/com/riiablo/codec/CofFinder.java | 0 .../main/java/com/riiablo/codec/D2Finder.java | 0 .../codec/excel/BinGenerationTool.java | 0 .../codec/excel/ExcelGenerationTool.java | 0 .../com/riiablo/entity/DirectionTool.java | 0 .../com/riiablo/item/ItemGeneratorTool.java | 0 .../java/com/riiablo/video/VideoTool.java | 0 tools/video-player/build.gradle | 1 + 37 files changed, 165 insertions(+), 44 deletions(-) create mode 100644 tools/backends/backend-core/build.gradle rename tools/{ => backends/backend-core}/src/main/java/com/riiablo/tool/AbstractTool.java (100%) rename tools/{ => backends/backend-core}/src/main/java/com/riiablo/tool/Tool.java (100%) create mode 100644 tools/backends/backend-headless/build.gradle rename tools/{ => backends/backend-headless}/src/main/java/com/riiablo/tool/HeadlessTool.java (100%) create mode 100644 tools/backends/backend-lwjgl/build.gradle rename tools/{ => backends/backend-lwjgl}/src/main/java/com/riiablo/tool/LwjglTool.java (100%) create mode 100644 tools/backends/backend-lwjgl3/build.gradle create mode 100644 tools/backends/backend-lwjgl3/src/main/java/com/riiablo/tool/Lwjgl3Tool.java create mode 100644 tools/old/build.gradle rename tools/{ => old}/src/main/java/com/riiablo/AnimationTool.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/BreakpointsTool.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/codec/CofFinder.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/codec/D2Finder.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/codec/excel/BinGenerationTool.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/codec/excel/ExcelGenerationTool.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/entity/DirectionTool.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/item/ItemGeneratorTool.java (100%) rename tools/{ => old}/src/main/java/com/riiablo/video/VideoTool.java (100%) diff --git a/.run/AnimationTool.run.xml b/.run/AnimationTool.run.xml index fad4a4c6..f0dbb256 100644 --- a/.run/AnimationTool.run.xml +++ b/.run/AnimationTool.run.xml @@ -1,7 +1,7 @@