diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-08 19:25:29 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-08 19:25:29 +0100 |
commit | d1e16a47819509ed645bb93e1a173e0a97025cef (patch) | |
tree | efbe886d9ac1ab4ea01788cb4842812fd0af9079 | |
parent | f694daf322bbb4ff530a9332547c5c8337c3e0c0 (diff) | |
download | LocalTransactionLedger-d1e16a47819509ed645bb93e1a173e0a97025cef.tar.gz LocalTransactionLedger-d1e16a47819509ed645bb93e1a173e0a97025cef.tar.bz2 LocalTransactionLedger-d1e16a47819509ed645bb93e1a173e0a97025cef.zip |
build: Move mod to subproject
-rw-r--r-- | .github/workflows/build.yml | 6 | ||||
-rw-r--r-- | build-src/src/main/kotlin/helpers.kt | 10 | ||||
-rw-r--r-- | build.gradle.kts | 186 | ||||
-rw-r--r-- | gradle.properties | 5 | ||||
-rw-r--r-- | mod/build.gradle.kts | 170 | ||||
-rw-r--r-- | mod/gradle.properties | 3 | ||||
-rw-r--r-- | mod/ledger-rules.pro (renamed from ledger-rules.pro) | 0 | ||||
-rw-r--r-- | mod/log4j2.xml (renamed from log4j2.xml) | 0 | ||||
-rw-r--r-- | mod/src/main/java/moe/nea/ledger/init/AutoDiscoveryMixinPlugin.java (renamed from src/main/java/moe/nea/ledger/init/AutoDiscoveryMixinPlugin.java) | 0 | ||||
-rw-r--r-- | mod/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java (renamed from src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java) | 0 | ||||
-rw-r--r-- | mod/src/main/java/moe/nea/ledger/mixin/MouseClickEventPatch.java (renamed from src/main/java/moe/nea/ledger/mixin/MouseClickEventPatch.java) | 0 | ||||
-rw-r--r-- | mod/src/main/java/moe/nea/ledger/mixin/OnInitializationCompletePatch.java (renamed from src/main/java/moe/nea/ledger/mixin/OnInitializationCompletePatch.java) | 0 | ||||
-rw-r--r-- | mod/src/main/java/moe/nea/ledger/mixin/devenv/RegisterModResourcesPatch.java (renamed from src/main/java/moe/nea/ledger/mixin/devenv/RegisterModResourcesPatch.java) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ConfigCommand.kt (renamed from src/main/kotlin/moe/nea/ledger/ConfigCommand.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/DebouncedValue.kt (renamed from src/main/kotlin/moe/nea/ledger/DebouncedValue.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/DebugDataCommand.kt (renamed from src/main/kotlin/moe/nea/ledger/DebugDataCommand.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/DevUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ExpiringValue.kt (renamed from src/main/kotlin/moe/nea/ledger/ExpiringValue.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ItemChange.kt (renamed from src/main/kotlin/moe/nea/ledger/ItemChange.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ItemId.kt (renamed from src/main/kotlin/moe/nea/ledger/ItemId.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt (renamed from src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ItemUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/ItemUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/Ledger.kt (renamed from src/main/kotlin/moe/nea/ledger/Ledger.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/LedgerEntry.kt (renamed from src/main/kotlin/moe/nea/ledger/LedgerEntry.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt (renamed from src/main/kotlin/moe/nea/ledger/LedgerLogger.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/LogChatCommand.kt (renamed from src/main/kotlin/moe/nea/ledger/LogChatCommand.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/MCUUIDUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/MCUUIDUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/NumberUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/NumberUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt (renamed from src/main/kotlin/moe/nea/ledger/QueryCommand.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/ScoreboardUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/ScoreboardUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/TelemetryProvider.kt (renamed from src/main/kotlin/moe/nea/ledger/TelemetryProvider.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/TransactionType.kt (renamed from src/main/kotlin/moe/nea/ledger/TransactionType.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/TriggerCommand.kt (renamed from src/main/kotlin/moe/nea/ledger/TriggerCommand.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt (renamed from src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt (renamed from src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt (renamed from src/main/kotlin/moe/nea/ledger/config/MainOptions.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt (renamed from src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/UpdateUi.kt (renamed from src/main/kotlin/moe/nea/ledger/config/UpdateUi.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/config/UpdateUiMarker.kt (renamed from src/main/kotlin/moe/nea/ledger/config/UpdateUiMarker.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/database/DBLogEntry.kt (renamed from src/main/kotlin/moe/nea/ledger/database/DBLogEntry.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/database/DBUpgrade.kt (renamed from src/main/kotlin/moe/nea/ledger/database/DBUpgrade.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/database/Database.kt (renamed from src/main/kotlin/moe/nea/ledger/database/Database.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/database/Upgrades.kt (renamed from src/main/kotlin/moe/nea/ledger/database/Upgrades.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/database/schema.dot (renamed from src/main/kotlin/moe/nea/ledger/database/schema.dot) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/BeforeGuiAction.kt (renamed from src/main/kotlin/moe/nea/ledger/events/BeforeGuiAction.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/ChatReceived.kt (renamed from src/main/kotlin/moe/nea/ledger/events/ChatReceived.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/ExtraSupplyIdEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/events/ExtraSupplyIdEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/GuiClickEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/events/GuiClickEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt (renamed from src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/RegistrationFinishedEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/events/RegistrationFinishedEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt (renamed from src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/TriggerEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/events/TriggerEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/WorldLoadEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/events/WorldLoadEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/events/WorldSwitchEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/events/WorldSwitchEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/AccessorySwapperDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/AccessorySwapperDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/AllowanceDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/AllowanceDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/AuctionHouseDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/AuctionHouseDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/BankDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/BankDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/BazaarDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/BazaarDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/BazaarOrderDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/BazaarOrderDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/BitsDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/BitsDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/BitsShopDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/BitsShopDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/ChestDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/ChestDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/DragonSacrificeDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/DragonSacrificeDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/ExternalDataProvider.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/ExternalDataProvider.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/GodPotionDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/GodPotionDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/GodPotionMixinDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/GodPotionMixinDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/KatDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/KatDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/KuudraChestDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/KuudraChestDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/MinionDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/MinionDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/UpdateChecker.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/UpdateChecker.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/modules/VisitorDetection.kt (renamed from src/main/kotlin/moe/nea/ledger/modules/VisitorDetection.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/BorderedTextTracker.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/BorderedTextTracker.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/GsonUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/GsonUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/MinecraftExecutor.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/MinecraftExecutor.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/network/Request.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/network/Request.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/network/RequestUtil.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/network/RequestUtil.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/network/Response.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/network/Response.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/BooleanContext.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/BooleanContext.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/CommonKeys.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/CommonKeys.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Context.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/Context.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/ContextValue.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/ContextValue.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/EventRecorder.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/EventRecorder.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/ExceptionContextValue.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/ExceptionContextValue.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/LoggingEventRecorder.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/LoggingEventRecorder.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/RecordedEvent.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/RecordedEvent.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Severity.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/Severity.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Span.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/Span.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/StringContext.kt (renamed from src/main/kotlin/moe/nea/ledger/utils/telemetry/StringContext.kt) | 0 | ||||
-rw-r--r-- | mod/src/main/resources/ledgerkeystore.jks (renamed from src/main/resources/ledgerkeystore.jks) | bin | 104393 -> 104393 bytes | |||
-rw-r--r-- | mod/src/main/resources/mcmod.info (renamed from src/main/resources/mcmod.info) | 0 | ||||
-rw-r--r-- | mod/src/main/resources/mixins.moneyledger.json (renamed from src/main/resources/mixins.moneyledger.json) | 0 | ||||
-rw-r--r-- | mod/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt (renamed from src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt) | 0 | ||||
-rw-r--r-- | settings.gradle.kts | 1 |
104 files changed, 196 insertions, 185 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7765a6c..a9eee2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,18 +24,18 @@ jobs: - name: Show build directory if: runner.debug == '1' run: | - ls -lahR build + ls -lahR mod/build - name: Upload built mod JAR uses: actions/upload-artifact@v4.3.0 with: name: mod-jar - path: build/libs/*.jar + path: mod/build/libs/*.jar - name: Upload partial JARs if: runner.debug == '1' uses: actions/upload-artifact@v4.3.0 with: name: extras - path: build/badjars/*.jar + path: mod/build/badjars/*.jar release: runs-on: ubuntu-latest needs: gradle diff --git a/build-src/src/main/kotlin/helpers.kt b/build-src/src/main/kotlin/helpers.kt new file mode 100644 index 0000000..5afef4f --- /dev/null +++ b/build-src/src/main/kotlin/helpers.kt @@ -0,0 +1,10 @@ +import org.gradle.api.plugins.ExtensionAware +import org.gradle.kotlin.dsl.configure +import org.gradle.kotlin.dsl.findByType + + +inline fun <reified T : Any> ExtensionAware.configureIf(crossinline block: T.() -> Unit) { + if (extensions.findByType<T>() != null) { + extensions.configure<T> { block() } + } +} diff --git a/build.gradle.kts b/build.gradle.kts index c5ee6d5..b4583f1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,4 @@ import com.github.gmazzo.buildconfig.BuildConfigExtension -import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar -import proguard.gradle.ProGuardTask import java.io.ByteArrayOutputStream buildscript { @@ -13,16 +11,11 @@ buildscript { } plugins { - idea - java - id("gg.essential.loom") version "1.6.+" - id("dev.architectury.architectury-pack200") version "0.1.3" - id("com.github.johnrengelman.shadow") version "8.1.1" - id("com.github.gmazzo.buildconfig") version "5.5.0" - kotlin("jvm") version "2.0.20" + kotlin("jvm") version "2.0.20" apply false + id("com.github.gmazzo.buildconfig") version "5.5.0" apply false id("ledger-globals") - id("ledger-repo") } + allprojects { apply(plugin = "ledger-globals") } @@ -36,179 +29,16 @@ fun cmd(vararg args: String): String { return baos.toByteArray().decodeToString().trim() } - -val baseGroup: String by project -val mcVersion: String by project val gitVersion = cmd("git", "rev-parse", "--short", "HEAD") val fullVersion = project.property("mod_version").toString() val versionName: String = "$fullVersion-$gitVersion" -val mixinGroup = "$baseGroup.mixin" allprojects { version = versionName -} -val modid: String by project - -// Toolchains: -java { - toolchain.languageVersion.set(JavaLanguageVersion.of(8)) -} - -// Minecraft configuration: -loom { - forge { - pack200Provider.set(dev.architectury.pack200.java.Pack200Adapter()) - mixinConfig("mixins.$modid.json") - } - log4jConfigs.from(file("log4j2.xml")) - runConfigs { - "client" { - property("ledger.bonusresourcemod", sourceSets.main.get().output.resourcesDir!!.absolutePath) - property("mixin.debug", "true") - programArgs("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker") - programArgs("--tweakClass", "io.github.notenoughupdates.moulconfig.tweaker.DevelopmentResourceTweaker") + afterEvaluate { + configureIf<BuildConfigExtension> { + buildConfigField<String>("VERSION", versionName) + buildConfigField<String>("FULL_VERSION", fullVersion) + buildConfigField<String>("GIT_COMMIT", gitVersion) } - remove(getByName("server")) - } - mixin.useLegacyMixinAp.set(false) -} - -// TODO: Add an extra shadow configuration for optimizable jars -//val optShadowImpl: Configuration by configurations.creating { -// -//} - -val shadowImpl: Configuration by configurations.creating { - configurations.implementation.get().extendsFrom(this) -} - -dependencies { - minecraft("com.mojang:minecraft:1.8.9") - mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9") - forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9") - - shadowImpl(kotlin("stdlib-jdk8")) - implementation("org.jspecify:jspecify:1.0.0") - - shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") { - isTransitive = false - } - - shadowImpl("org.xerial:sqlite-jdbc:3.45.3.0") - shadowImpl("org.notenoughupdates.moulconfig:legacy:3.0.0-beta.9") - shadowImpl("io.azam.ulidj:ulidj:1.0.4") - shadowImpl(project(":dependency-injection")) - shadowImpl(project(":database:core")) - shadowImpl("moe.nea:libautoupdate:1.3.1") { - exclude(module = "gson") } - runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.2.1") - testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") -} - -// Tasks: - -// Delete default shadow configuration -tasks.shadowJar { - doFirst { error("Incorrect shadow JAR built!") } } - -tasks.downloadRepo { - hash.set("dcf1dbc") -} - -val generateItemIds by tasks.register("generateItemIds", GenerateItemIds::class) { - repoHash.set(tasks.downloadRepo.get().hash) - packageName.set("moe.nea.ledger.gen") - outputDirectory.set(layout.buildDirectory.dir("generated/sources/itemIds")) - repoFiles.set(tasks.downloadRepo.get().outputDirectory) -} -sourceSets.main { - java.srcDir(generateItemIds) -} - -tasks.withType<Jar> { - archiveBaseName.set(modid) - manifest.attributes.run { - this["FMLCorePluginContainsFMLMod"] = "true" - this["ForceLoadAsMod"] = "true" - - // If you don't want mixins, remove these lines - this["TweakClass"] = "org.spongepowered.asm.launch.MixinTweaker" - this["MixinConfigs"] = "mixins.$modid.json" - } -} - -tasks.processResources { - inputs.property("version", project.version) - inputs.property("mcversion", mcVersion) - inputs.property("modid", modid) - inputs.property("basePackage", baseGroup) - - filesMatching(listOf("mcmod.info", "mixins.$modid.json")) { - expand(inputs.properties) - } -} - - -val proguardOutJar = project.layout.buildDirectory.file("badjars/stripped.jar") -val proguard = tasks.register("proguard", ProGuardTask::class) { - dependsOn(tasks.jar) - injars(tasks.jar.map { it.archiveFile }) - outjars(proguardOutJar) - configuration(file("ledger-rules.pro")) - val libJava = javaToolchains.launcherFor(java.toolchain) - .get() - .metadata.installationPath.file("jre/lib/rt.jar") - libraryjars(libJava) - libraryjars(configurations.compileClasspath) -} - -val shadowJar2 = tasks.register("shadowJar2", ShadowJar::class) { - destinationDirectory.set(layout.buildDirectory.dir("badjars")) - archiveClassifier.set("all-dev") - from(proguardOutJar) - dependsOn(proguard) - configurations = listOf(shadowImpl) - relocate("moe.nea.libautoupdate", "moe.nea.ledger.deps.libautoupdate") - relocate("io.github.notenoughupdates.moulconfig", "moe.nea.ledger.deps.moulconfig") - relocate("io.azam.ulidj", "moe.nea.ledger.deps.ulid") - mergeServiceFiles() - exclude( - // Signatures - "META-INF/INDEX.LIST", - "META-INF/*.SF", - "META-INF/*.DSA", - "META-INF/*.RSA", - "module-info.class", - - "META-INF/*.kotlin_module", - "META-INF/versions/**" - ) -} -tasks.remapJar { - archiveClassifier.set("") - inputFile.set(shadowJar2.flatMap { it.archiveFile }) -} - -tasks.jar { - archiveClassifier.set("without-deps") - destinationDirectory.set(layout.buildDirectory.dir("badjars")) -} - -tasks.assemble.get().dependsOn(tasks.remapJar) - -inline fun <reified T : Any> ExtensionAware.configureIf(crossinline block: T.() -> Unit) { - if (extensions.findByType<T>() != null) { - extensions.configure<T> { block() } - } -} - -allprojects { - configureIf<BuildConfigExtension> { - packageName("moe.nea.ledger.gen") - buildConfigField<String>("VERSION", versionName) - buildConfigField<String>("FULL_VERSION", fullVersion) - buildConfigField<String>("GIT_COMMIT", gitVersion) - } -} - diff --git a/gradle.properties b/gradle.properties index 38adc2e..6e2027c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,3 @@ -loom.platform=forge -org.gradle.jvmargs=-Xmx2g +org.gradle.jvmargs = -Xmx2g baseGroup = moe.nea.ledger -mcVersion = 1.8.9 -modid = moneyledger mod_version = 2.0.0 diff --git a/mod/build.gradle.kts b/mod/build.gradle.kts new file mode 100644 index 0000000..10f01e1 --- /dev/null +++ b/mod/build.gradle.kts @@ -0,0 +1,170 @@ +import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar +import proguard.gradle.ProGuardTask + +plugins { + idea + java + id("gg.essential.loom") version "1.6.+" + id("dev.architectury.architectury-pack200") version "0.1.3" + id("com.github.johnrengelman.shadow") version "8.1.1" + id("com.github.gmazzo.buildconfig") + kotlin("jvm") + id("ledger-repo") +} +val baseGroup: String by project +val mcVersion: String by project +val mixinGroup = "$baseGroup.mixin" +val modid: String by project + +// Toolchains: +java { + toolchain.languageVersion.set(JavaLanguageVersion.of(8)) +} + +// Minecraft configuration: +loom { + forge { + pack200Provider.set(dev.architectury.pack200.java.Pack200Adapter()) + mixinConfig("mixins.$modid.json") + } + log4jConfigs.from(file("log4j2.xml")) + runConfigs { + "client" { + property("ledger.bonusresourcemod", sourceSets.main.get().output.resourcesDir!!.absolutePath) + property("mixin.debug", "true") + programArgs("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker") + programArgs("--tweakClass", "io.github.notenoughupdates.moulconfig.tweaker.DevelopmentResourceTweaker") + } + remove(getByName("server")) + } + mixin.useLegacyMixinAp.set(false) +} + +// TODO: Add an extra shadow configuration for optimizable jars +//val optShadowImpl: Configuration by configurations.creating { +// +//} + +val shadowImpl: Configuration by configurations.creating { + configurations.implementation.get().extendsFrom(this) +} + +dependencies { + minecraft("com.mojang:minecraft:1.8.9") + mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9") + forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9") + + shadowImpl(kotlin("stdlib-jdk8")) + implementation("org.jspecify:jspecify:1.0.0") + + shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") { + isTransitive = false + } + + shadowImpl("org.xerial:sqlite-jdbc:3.45.3.0") + shadowImpl("org.notenoughupdates.moulconfig:legacy:3.0.0-beta.9") + shadowImpl("io.azam.ulidj:ulidj:1.0.4") + shadowImpl(project(":dependency-injection")) + shadowImpl(project(":database:core")) + shadowImpl("moe.nea:libautoupdate:1.3.1") { + exclude(module = "gson") + } + runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.2.1") + testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") +} + +// Tasks: + +// Delete default shadow configuration +tasks.shadowJar { + doFirst { error("Incorrect shadow JAR built!") } +} + +tasks.downloadRepo { + hash.set("dcf1dbc") +} + +val generateItemIds by tasks.register("generateItemIds", GenerateItemIds::class) { + repoHash.set(tasks.downloadRepo.get().hash) + packageName.set("moe.nea.ledger.gen") + outputDirectory.set(layout.buildDirectory.dir("generated/sources/itemIds")) + repoFiles.set(tasks.downloadRepo.get().outputDirectory) +} +sourceSets.main { + java.srcDir(generateItemIds) +} +tasks.withType<AbstractArchiveTask> { + archiveBaseName.set(modid) +} +tasks.withType<Jar> { + manifest.attributes.run { + this["FMLCorePluginContainsFMLMod"] = "true" + this["ForceLoadAsMod"] = "true" + this["TweakClass"] = "org.spongepowered.asm.launch.MixinTweaker" + this["MixinConfigs"] = "mixins.$modid.json" + } +} + +tasks.processResources { + inputs.property("version", project.version) + inputs.property("mcversion", mcVersion) + inputs.property("modid", modid) + inputs.property("basePackage", baseGroup) + + filesMatching(listOf("mcmod.info", "mixins.$modid.json")) { + expand(inputs.properties) + } +} + + +val proguardOutJar = project.layout.buildDirectory.file("badjars/stripped.jar") +val proguard = tasks.register("proguard", ProGuardTask::class) { + dependsOn(tasks.jar) + injars(tasks.jar.map { it.archiveFile }) + outjars(proguardOutJar) + configuration(file("ledger-rules.pro")) + val libJava = javaToolchains.launcherFor(java.toolchain) + .get() + .metadata.installationPath.file("jre/lib/rt.jar") + libraryjars(libJava) + libraryjars(configurations.compileClasspath) +} + +val shadowJar2 = tasks.register("shadowJar2", ShadowJar::class) { + destinationDirectory.set(layout.buildDirectory.dir("badjars")) + archiveClassifier.set("all-dev") + from(proguardOutJar) + dependsOn(proguard) + configurations = listOf(shadowImpl) + relocate("moe.nea.libautoupdate", "moe.nea.ledger.deps.libautoupdate") + relocate("io.github.notenoughupdates.moulconfig", "moe.nea.ledger.deps.moulconfig") + relocate("io.azam.ulidj", "moe.nea.ledger.deps.ulid") + mergeServiceFiles() + exclude( + // Signatures + "META-INF/INDEX.LIST", + "META-INF/*.SF", + "META-INF/*.DSA", + "META-INF/*.RSA", + "module-info.class", + + "META-INF/*.kotlin_module", + "META-INF/versions/**" + ) +} +tasks.remapJar { + archiveClassifier.set("") + inputFile.set(shadowJar2.flatMap { it.archiveFile }) +} + +tasks.jar { + archiveClassifier.set("without-deps") + destinationDirectory.set(layout.buildDirectory.dir("badjars")) +} + +tasks.assemble.get().dependsOn(tasks.remapJar) + +buildConfig { + packageName("moe.nea.ledger.gen") +} + diff --git a/mod/gradle.properties b/mod/gradle.properties new file mode 100644 index 0000000..28f0604 --- /dev/null +++ b/mod/gradle.properties @@ -0,0 +1,3 @@ +loom.platform = forge +mcVersion = 1.8.9 +modid = moneyledger diff --git a/ledger-rules.pro b/mod/ledger-rules.pro index 32cd337..32cd337 100644 --- a/ledger-rules.pro +++ b/mod/ledger-rules.pro diff --git a/log4j2.xml b/mod/log4j2.xml index af9b1b7..af9b1b7 100644 --- a/log4j2.xml +++ b/mod/log4j2.xml diff --git a/src/main/java/moe/nea/ledger/init/AutoDiscoveryMixinPlugin.java b/mod/src/main/java/moe/nea/ledger/init/AutoDiscoveryMixinPlugin.java index 56841b5..56841b5 100644 --- a/src/main/java/moe/nea/ledger/init/AutoDiscoveryMixinPlugin.java +++ b/mod/src/main/java/moe/nea/ledger/init/AutoDiscoveryMixinPlugin.java diff --git a/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java b/mod/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java index 52b8911..52b8911 100644 --- a/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java +++ b/mod/src/main/java/moe/nea/ledger/mixin/AccessorGuiEditSign.java diff --git a/src/main/java/moe/nea/ledger/mixin/MouseClickEventPatch.java b/mod/src/main/java/moe/nea/ledger/mixin/MouseClickEventPatch.java index 4e6e360..4e6e360 100644 --- a/src/main/java/moe/nea/ledger/mixin/MouseClickEventPatch.java +++ b/mod/src/main/java/moe/nea/ledger/mixin/MouseClickEventPatch.java diff --git a/src/main/java/moe/nea/ledger/mixin/OnInitializationCompletePatch.java b/mod/src/main/java/moe/nea/ledger/mixin/OnInitializationCompletePatch.java index fc9afb7..fc9afb7 100644 --- a/src/main/java/moe/nea/ledger/mixin/OnInitializationCompletePatch.java +++ b/mod/src/main/java/moe/nea/ledger/mixin/OnInitializationCompletePatch.java diff --git a/src/main/java/moe/nea/ledger/mixin/devenv/RegisterModResourcesPatch.java b/mod/src/main/java/moe/nea/ledger/mixin/devenv/RegisterModResourcesPatch.java index 88e8364..88e8364 100644 --- a/src/main/java/moe/nea/ledger/mixin/devenv/RegisterModResourcesPatch.java +++ b/mod/src/main/java/moe/nea/ledger/mixin/devenv/RegisterModResourcesPatch.java diff --git a/src/main/kotlin/moe/nea/ledger/ConfigCommand.kt b/mod/src/main/kotlin/moe/nea/ledger/ConfigCommand.kt index 5b964c8..5b964c8 100644 --- a/src/main/kotlin/moe/nea/ledger/ConfigCommand.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ConfigCommand.kt diff --git a/src/main/kotlin/moe/nea/ledger/DebouncedValue.kt b/mod/src/main/kotlin/moe/nea/ledger/DebouncedValue.kt index 66fba8d..66fba8d 100644 --- a/src/main/kotlin/moe/nea/ledger/DebouncedValue.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/DebouncedValue.kt diff --git a/src/main/kotlin/moe/nea/ledger/DebugDataCommand.kt b/mod/src/main/kotlin/moe/nea/ledger/DebugDataCommand.kt index bab0a78..bab0a78 100644 --- a/src/main/kotlin/moe/nea/ledger/DebugDataCommand.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/DebugDataCommand.kt diff --git a/src/main/kotlin/moe/nea/ledger/DevUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt index d0dd653..d0dd653 100644 --- a/src/main/kotlin/moe/nea/ledger/DevUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/ExpiringValue.kt b/mod/src/main/kotlin/moe/nea/ledger/ExpiringValue.kt index b50b14e..b50b14e 100644 --- a/src/main/kotlin/moe/nea/ledger/ExpiringValue.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ExpiringValue.kt diff --git a/src/main/kotlin/moe/nea/ledger/ItemChange.kt b/mod/src/main/kotlin/moe/nea/ledger/ItemChange.kt index fda709c..fda709c 100644 --- a/src/main/kotlin/moe/nea/ledger/ItemChange.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ItemChange.kt diff --git a/src/main/kotlin/moe/nea/ledger/ItemId.kt b/mod/src/main/kotlin/moe/nea/ledger/ItemId.kt index 8211cd3..8211cd3 100644 --- a/src/main/kotlin/moe/nea/ledger/ItemId.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ItemId.kt diff --git a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt b/mod/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt index 0bacf32..0bacf32 100644 --- a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt diff --git a/src/main/kotlin/moe/nea/ledger/ItemUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/ItemUtil.kt index a3d8162..a3d8162 100644 --- a/src/main/kotlin/moe/nea/ledger/ItemUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ItemUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/Ledger.kt b/mod/src/main/kotlin/moe/nea/ledger/Ledger.kt index bc667e4..bc667e4 100644 --- a/src/main/kotlin/moe/nea/ledger/Ledger.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/Ledger.kt diff --git a/src/main/kotlin/moe/nea/ledger/LedgerEntry.kt b/mod/src/main/kotlin/moe/nea/ledger/LedgerEntry.kt index d4a3932..d4a3932 100644 --- a/src/main/kotlin/moe/nea/ledger/LedgerEntry.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/LedgerEntry.kt diff --git a/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt b/mod/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt index 6049aa2..6049aa2 100644 --- a/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt diff --git a/src/main/kotlin/moe/nea/ledger/LogChatCommand.kt b/mod/src/main/kotlin/moe/nea/ledger/LogChatCommand.kt index 90b2545..90b2545 100644 --- a/src/main/kotlin/moe/nea/ledger/LogChatCommand.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/LogChatCommand.kt diff --git a/src/main/kotlin/moe/nea/ledger/MCUUIDUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/MCUUIDUtil.kt index 79068cc..79068cc 100644 --- a/src/main/kotlin/moe/nea/ledger/MCUUIDUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/MCUUIDUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/NumberUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/NumberUtil.kt index 438f342..438f342 100644 --- a/src/main/kotlin/moe/nea/ledger/NumberUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/NumberUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/QueryCommand.kt b/mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt index 19bd5d0..19bd5d0 100644 --- a/src/main/kotlin/moe/nea/ledger/QueryCommand.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/QueryCommand.kt diff --git a/src/main/kotlin/moe/nea/ledger/ScoreboardUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/ScoreboardUtil.kt index 783664b..783664b 100644 --- a/src/main/kotlin/moe/nea/ledger/ScoreboardUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/ScoreboardUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/TelemetryProvider.kt b/mod/src/main/kotlin/moe/nea/ledger/TelemetryProvider.kt index d9c7108..d9c7108 100644 --- a/src/main/kotlin/moe/nea/ledger/TelemetryProvider.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/TelemetryProvider.kt diff --git a/src/main/kotlin/moe/nea/ledger/TransactionType.kt b/mod/src/main/kotlin/moe/nea/ledger/TransactionType.kt index 33c633d..33c633d 100644 --- a/src/main/kotlin/moe/nea/ledger/TransactionType.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/TransactionType.kt diff --git a/src/main/kotlin/moe/nea/ledger/TriggerCommand.kt b/mod/src/main/kotlin/moe/nea/ledger/TriggerCommand.kt index c97627d..c97627d 100644 --- a/src/main/kotlin/moe/nea/ledger/TriggerCommand.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/TriggerCommand.kt diff --git a/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt b/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt index fd5ed3d..fd5ed3d 100644 --- a/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt diff --git a/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt b/mod/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt index 91ee5c1..91ee5c1 100644 --- a/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt diff --git a/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt b/mod/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt index 1efa970..1efa970 100644 --- a/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/MainOptions.kt diff --git a/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt b/mod/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt index b8c740b..b8c740b 100644 --- a/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt diff --git a/src/main/kotlin/moe/nea/ledger/config/UpdateUi.kt b/mod/src/main/kotlin/moe/nea/ledger/config/UpdateUi.kt index 86ccbf7..86ccbf7 100644 --- a/src/main/kotlin/moe/nea/ledger/config/UpdateUi.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/UpdateUi.kt diff --git a/src/main/kotlin/moe/nea/ledger/config/UpdateUiMarker.kt b/mod/src/main/kotlin/moe/nea/ledger/config/UpdateUiMarker.kt index 7a0466a..7a0466a 100644 --- a/src/main/kotlin/moe/nea/ledger/config/UpdateUiMarker.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/config/UpdateUiMarker.kt diff --git a/src/main/kotlin/moe/nea/ledger/database/DBLogEntry.kt b/mod/src/main/kotlin/moe/nea/ledger/database/DBLogEntry.kt index b162c6f..b162c6f 100644 --- a/src/main/kotlin/moe/nea/ledger/database/DBLogEntry.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/database/DBLogEntry.kt diff --git a/src/main/kotlin/moe/nea/ledger/database/DBUpgrade.kt b/mod/src/main/kotlin/moe/nea/ledger/database/DBUpgrade.kt index 7d1782a..7d1782a 100644 --- a/src/main/kotlin/moe/nea/ledger/database/DBUpgrade.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/database/DBUpgrade.kt diff --git a/src/main/kotlin/moe/nea/ledger/database/Database.kt b/mod/src/main/kotlin/moe/nea/ledger/database/Database.kt index 025888c..025888c 100644 --- a/src/main/kotlin/moe/nea/ledger/database/Database.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/database/Database.kt diff --git a/src/main/kotlin/moe/nea/ledger/database/Upgrades.kt b/mod/src/main/kotlin/moe/nea/ledger/database/Upgrades.kt index e83abe7..e83abe7 100644 --- a/src/main/kotlin/moe/nea/ledger/database/Upgrades.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/database/Upgrades.kt diff --git a/src/main/kotlin/moe/nea/ledger/database/schema.dot b/mod/src/main/kotlin/moe/nea/ledger/database/schema.dot index d932f6a..d932f6a 100644 --- a/src/main/kotlin/moe/nea/ledger/database/schema.dot +++ b/mod/src/main/kotlin/moe/nea/ledger/database/schema.dot diff --git a/src/main/kotlin/moe/nea/ledger/events/BeforeGuiAction.kt b/mod/src/main/kotlin/moe/nea/ledger/events/BeforeGuiAction.kt index 098912a..098912a 100644 --- a/src/main/kotlin/moe/nea/ledger/events/BeforeGuiAction.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/BeforeGuiAction.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/ChatReceived.kt b/mod/src/main/kotlin/moe/nea/ledger/events/ChatReceived.kt index a352c27..a352c27 100644 --- a/src/main/kotlin/moe/nea/ledger/events/ChatReceived.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/ChatReceived.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/ExtraSupplyIdEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/events/ExtraSupplyIdEvent.kt index d040961..d040961 100644 --- a/src/main/kotlin/moe/nea/ledger/events/ExtraSupplyIdEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/ExtraSupplyIdEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/GuiClickEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/events/GuiClickEvent.kt index 9e057dd..9e057dd 100644 --- a/src/main/kotlin/moe/nea/ledger/events/GuiClickEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/GuiClickEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt b/mod/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt index d917039..d917039 100644 --- a/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/InitializationComplete.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/RegistrationFinishedEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/events/RegistrationFinishedEvent.kt index d36e0c7..d36e0c7 100644 --- a/src/main/kotlin/moe/nea/ledger/events/RegistrationFinishedEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/RegistrationFinishedEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt b/mod/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt index cab0a20..cab0a20 100644 --- a/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/SupplyDebugInfo.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/TriggerEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/events/TriggerEvent.kt index 3751f43..3751f43 100644 --- a/src/main/kotlin/moe/nea/ledger/events/TriggerEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/TriggerEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/WorldLoadEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/events/WorldLoadEvent.kt index d60f3a4..d60f3a4 100644 --- a/src/main/kotlin/moe/nea/ledger/events/WorldLoadEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/WorldLoadEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/events/WorldSwitchEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/events/WorldSwitchEvent.kt index 22a97f7..22a97f7 100644 --- a/src/main/kotlin/moe/nea/ledger/events/WorldSwitchEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/events/WorldSwitchEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/AccessorySwapperDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/AccessorySwapperDetection.kt index 1c228ff..1c228ff 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/AccessorySwapperDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/AccessorySwapperDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/AllowanceDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/AllowanceDetection.kt index cd48d45..cd48d45 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/AllowanceDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/AllowanceDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/AuctionHouseDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/AuctionHouseDetection.kt index d02095d..d02095d 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/AuctionHouseDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/AuctionHouseDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/BankDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/BankDetection.kt index 928d30c..928d30c 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/BankDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/BankDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/BazaarDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/BazaarDetection.kt index 0f1fc2c..0f1fc2c 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/BazaarDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/BazaarDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/BazaarOrderDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/BazaarOrderDetection.kt index 330ee1d..330ee1d 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/BazaarOrderDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/BazaarOrderDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/BitsDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/BitsDetection.kt index 44a0050..44a0050 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/BitsDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/BitsDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/BitsShopDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/BitsShopDetection.kt index 553bebf..553bebf 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/BitsShopDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/BitsShopDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/ChestDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/ChestDetection.kt index cca02e1..cca02e1 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/ChestDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/ChestDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt index e389ffb..e389ffb 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/DragonEyePlacementDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/DragonSacrificeDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/DragonSacrificeDetection.kt index 574cfcf..574cfcf 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/DragonSacrificeDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/DragonSacrificeDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt index e747be9..e747be9 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/DungeonChestDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/ExternalDataProvider.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/ExternalDataProvider.kt index 93bb453..93bb453 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/ExternalDataProvider.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/ExternalDataProvider.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt index 04dbe80..04dbe80 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt index 95811ed..95811ed 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/ForgeDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt index a8f79c1..a8f79c1 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/GodPotionDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/GodPotionDetection.kt index ae86519..ae86519 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/GodPotionDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/GodPotionDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/GodPotionMixinDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/GodPotionMixinDetection.kt index b96a24a..b96a24a 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/GodPotionMixinDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/GodPotionMixinDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/KatDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/KatDetection.kt index eda5aba..eda5aba 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/KatDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/KatDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/KuudraChestDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/KuudraChestDetection.kt index e0e9322..e0e9322 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/KuudraChestDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/KuudraChestDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt index 60b06ae..60b06ae 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/MineshaftCorpseDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/MinionDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/MinionDetection.kt index 6999c7f..6999c7f 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/MinionDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/MinionDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt index 95b8aa5..95b8aa5 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/UpdateChecker.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/UpdateChecker.kt index 0d89ca1..0d89ca1 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/UpdateChecker.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/UpdateChecker.kt diff --git a/src/main/kotlin/moe/nea/ledger/modules/VisitorDetection.kt b/mod/src/main/kotlin/moe/nea/ledger/modules/VisitorDetection.kt index f457ae4..f457ae4 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/VisitorDetection.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/modules/VisitorDetection.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/BorderedTextTracker.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/BorderedTextTracker.kt index 9e621e8..9e621e8 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/BorderedTextTracker.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/BorderedTextTracker.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt index e0c83f9..e0c83f9 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/ErrorUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/GsonUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/GsonUtil.kt index d3c1f6e..d3c1f6e 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/GsonUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/GsonUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/MinecraftExecutor.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/MinecraftExecutor.kt index affd86c..affd86c 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/MinecraftExecutor.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/MinecraftExecutor.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt index 9b0e7a3..9b0e7a3 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/NoSideEffects.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/network/Request.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/network/Request.kt index ddf2fcc..ddf2fcc 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/network/Request.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/network/Request.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/network/RequestUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/network/RequestUtil.kt index a49c65a..a49c65a 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/network/RequestUtil.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/network/RequestUtil.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/network/Response.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/network/Response.kt index daae7f7..daae7f7 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/network/Response.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/network/Response.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/BooleanContext.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/BooleanContext.kt index 5f4ccdf..5f4ccdf 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/BooleanContext.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/BooleanContext.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/CommonKeys.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/CommonKeys.kt index 004ae9c..004ae9c 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/CommonKeys.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/CommonKeys.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/Context.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Context.kt index 3c30a52..3c30a52 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/Context.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Context.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/ContextValue.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/ContextValue.kt index b5891fc..b5891fc 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/ContextValue.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/ContextValue.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/EventRecorder.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/EventRecorder.kt index 28b1ab5..28b1ab5 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/EventRecorder.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/EventRecorder.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/ExceptionContextValue.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/ExceptionContextValue.kt index 96b70ec..96b70ec 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/ExceptionContextValue.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/ExceptionContextValue.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt index 1601f56..1601f56 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/JsonElementContext.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/LoggingEventRecorder.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/LoggingEventRecorder.kt index 82a76ed..82a76ed 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/LoggingEventRecorder.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/LoggingEventRecorder.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/RecordedEvent.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/RecordedEvent.kt index 346417d..346417d 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/RecordedEvent.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/RecordedEvent.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/Severity.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Severity.kt index e9a3b79..e9a3b79 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/Severity.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Severity.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/Span.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Span.kt index 0d680a9..0d680a9 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/Span.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/Span.kt diff --git a/src/main/kotlin/moe/nea/ledger/utils/telemetry/StringContext.kt b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/StringContext.kt index 2d33075..2d33075 100644 --- a/src/main/kotlin/moe/nea/ledger/utils/telemetry/StringContext.kt +++ b/mod/src/main/kotlin/moe/nea/ledger/utils/telemetry/StringContext.kt diff --git a/src/main/resources/ledgerkeystore.jks b/mod/src/main/resources/ledgerkeystore.jks Binary files differindex b71185a..b71185a 100644 --- a/src/main/resources/ledgerkeystore.jks +++ b/mod/src/main/resources/ledgerkeystore.jks diff --git a/src/main/resources/mcmod.info b/mod/src/main/resources/mcmod.info index fdeffd8..fdeffd8 100644 --- a/src/main/resources/mcmod.info +++ b/mod/src/main/resources/mcmod.info diff --git a/src/main/resources/mixins.moneyledger.json b/mod/src/main/resources/mixins.moneyledger.json index fa6482e..fa6482e 100644 --- a/src/main/resources/mixins.moneyledger.json +++ b/mod/src/main/resources/mixins.moneyledger.json diff --git a/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt b/mod/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt index 4068a42..4068a42 100644 --- a/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt +++ b/mod/src/test/kotlin/moe/nea/ledger/NumberUtilKtTest.kt diff --git a/settings.gradle.kts b/settings.gradle.kts index ea25ef5..0390203 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -29,4 +29,5 @@ rootProject.name = "ledger" include("dependency-injection") include("database:core") include("basetypes") +include("mod") includeBuild("build-src") |