Skip to content

Commit 44504bd

Browse files
committed
Split hexdebug-core into per-platform packages, publish mojmap jars for common
1 parent 3d27d42 commit 44504bd

38 files changed

+399
-145
lines changed

Common/Mojmap/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// this is in its own project because otherwise Gradle gets confused about having multiple remap tasks (?)
2+
3+
plugins {
4+
id("hexdebug.conventions.mojmap")
5+
}

Common/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ dependencies {
2424
annotationProcessor(it)
2525
}
2626

27-
api(libs.bundles.lsp4j)
27+
implementation(libs.bundles.lsp4j)
2828

2929
implementation(libs.bundles.ktor)
3030

3131
modImplementation(libs.ioticblocks.common)
3232

3333
modCompileOnly(libs.emi.xplat)
3434

35-
api(project(":Core"))
35+
api(project(":hexdebug-core-common", "namedElements"))
3636
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins {
2+
id("hexdebug.conventions.mojmap")
3+
}

Core/Common/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
platform=core-common

Core/src/main/java/gay/object/hexdebug/core/api/HexDebugCoreAPI.java renamed to Core/Common/src/main/java/gay/object/hexdebug/core/api/HexDebugCoreAPI.java

File renamed without changes.

Core/src/main/java/gay/object/hexdebug/core/api/debugging/DebugOutputCategory.java renamed to Core/Common/src/main/java/gay/object/hexdebug/core/api/debugging/DebugOutputCategory.java

File renamed without changes.

Core/src/main/java/gay/object/hexdebug/core/api/debugging/DebugStepType.java renamed to Core/Common/src/main/java/gay/object/hexdebug/core/api/debugging/DebugStepType.java

File renamed without changes.

Core/src/main/java/gay/object/hexdebug/core/api/debugging/DebuggableBlock.java renamed to Core/Common/src/main/java/gay/object/hexdebug/core/api/debugging/DebuggableBlock.java

File renamed without changes.

Core/src/main/java/gay/object/hexdebug/core/api/debugging/DebuggableCircleComponent.java renamed to Core/Common/src/main/java/gay/object/hexdebug/core/api/debugging/DebuggableCircleComponent.java

File renamed without changes.

0 commit comments

Comments
 (0)