diff options
author | nea <nea@nea.moe> | 2023-07-17 03:53:57 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-07-17 03:53:57 +0200 |
commit | 86d7516f3f619a0368b36af6dc5cad13babb5cb5 (patch) | |
tree | 7f59d4dd2553a0c21834f4818bdf312bb76381ce /build.gradle.kts | |
parent | 69db365139428bd0c433ccbb9d31dfded7216572 (diff) | |
download | DulkirMod-updatenotifs.tar.gz DulkirMod-updatenotifs.tar.bz2 DulkirMod-updatenotifs.zip |
Add update notificationsupdatenotifs
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index e3d6c46..bac63fc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -58,6 +58,7 @@ repositories { // If you don't want to log in with your real minecraft account, remove this line maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1") maven("https://repo.essential.gg/repository/maven-public/") + maven("https://repo.nea.moe/releases") maven("https://repo.polyfrost.cc/releases") } @@ -85,6 +86,9 @@ dependencies { compileOnly("cc.polyfrost:oneconfig-1.8.9-forge:0.2.0-alpha+") // Should not be included in jar // include should be replaced with a configuration that includes this in the jar shadowImpl("cc.polyfrost:oneconfig-wrapper-launchwrapper:1.0.0-beta+") // Should be included in jar + + // Auto updating library + shadowImpl("moe.nea:libautoupdate:1.1.0") } // Configures our shadow/shade configuration, so we can @@ -129,12 +133,13 @@ tasks.shadowJar { configurations = listOf(shadowImpl) doLast { configurations.forEach { - println("Config: ${it.files}") + println("Copying into JAR: ${it.files}") } } // If you want to include other dependencies and shadow them, you can relocate them in here fun relocate(name: String) = relocate(name, "com.dulkirmod.deps.$name") + relocate("moe.nea.libautoupdate") } tasks.withType<Jar> { duplicatesStrategy = DuplicatesStrategy.EXCLUDE } |