diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 3f5f07a2c..379e79e2b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,6 @@ java { toolchain.languageVersion.set(JavaLanguageVersion.of(8)) } - sourceSets.main { output.setResourcesDir(file("$buildDir/classes/java/main")) } @@ -26,6 +25,7 @@ sourceSets.main { repositories { mavenCentral() + mavenLocal() maven("https://repo.spongepowered.org/maven/") // 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") @@ -34,6 +34,7 @@ repositories { includeGroupByRegex("com\\.github\\..*") } } + maven("https://repo.nea.moe/releases") } val shadowImpl by configurations.creating { @@ -73,6 +74,8 @@ dependencies { shadowModImpl("com.github.notenoughupdates:moulconfig:ac39e63") devenvMod("com.github.notenoughupdates:moulconfig:ac39e63:test") + + shadowImpl("moe.nea:libautoupdate:1.0.3") } // Minecraft configuration: @@ -101,6 +104,12 @@ loom { } // Tasks: +tasks.processResources { + inputs.property("version", version) + filesMatching("mcmod.info") { + expand("version" to version) + } +} tasks.withType(JavaCompile::class) { options.encoding = "UTF-8" |