aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-23 02:22:06 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-23 02:22:06 +0100
commitf0285e44ed113bcf2a11b5d6635f6124deb7fc3b (patch)
tree7ebcc5faaf014287f17696c501351447cbe8890d /build.gradle.kts
parent6b7f5b95b0541eb0e76855152e283e5f9cad0c3c (diff)
downloadLocalTransactionLedger-f0285e44ed113bcf2a11b5d6635f6124deb7fc3b.tar.gz
LocalTransactionLedger-f0285e44ed113bcf2a11b5d6635f6124deb7fc3b.tar.bz2
LocalTransactionLedger-f0285e44ed113bcf2a11b5d6635f6124deb7fc3b.zip
feat: Add in game updater
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index d911121..dad4b3e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -18,7 +18,7 @@ fun cmd(vararg args: String): String {
standardOutput = baos
commandLine(*args)
}
- return baos.toByteArray().decodeToString().trim()
+ return baos.toByteArray().decodeToString().trim()
}
@@ -76,6 +76,7 @@ sourceSets.main {
repositories {
mavenCentral()
+ maven("https://repo.nea.moe/releases/")
maven("https://repo.spongepowered.org/maven/")
maven("https://maven.notenoughupdates.org/releases")
maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
@@ -100,6 +101,7 @@ dependencies {
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("moe.nea:libautoupdate:1.3.1")
runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.2")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
}
@@ -155,6 +157,7 @@ tasks.shadowJar {
destinationDirectory.set(layout.buildDirectory.dir("badjars"))
archiveClassifier.set("all-dev")
configurations = listOf(shadowImpl)
+ relocate("moe.nea.libautoupdate", "moe.nea.ledger.deps.libautoupdate")
mergeServiceFiles()
}