diff options
author | Linnea Gräf <roman.graef@gmail.com> | 2023-10-02 17:36:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 17:36:27 +0200 |
commit | f4f7ec10fd724b05d922204ac1739536b1ec9caa (patch) | |
tree | 57e8fb9f98721c7ec8d9a9fec263b1a1523878fc /build.gradle.kts | |
parent | 3a957574b11d4a3b897ac6b6519ed5689dda2b44 (diff) | |
download | NotEnoughUpdates-f4f7ec10fd724b05d922204ac1739536b1ec9caa.tar.gz NotEnoughUpdates-f4f7ec10fd724b05d922204ac1739536b1ec9caa.tar.bz2 NotEnoughUpdates-f4f7ec10fd724b05d922204ac1739536b1ec9caa.zip |
Moul Config (#814)
* Moul Config
* Bump version
* Fix IQ test and oneconfig
* Add version to title
* Fix NPE
* Fix merge
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index b583027c..1b4a52ae 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -75,11 +75,11 @@ loom { repositories { mavenCentral() mavenLocal() + maven("https://maven.notenoughupdates.org/releases") maven("https://repo.spongepowered.org/maven/") maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1") maven("https://jitpack.io") maven("https://repo.polyfrost.cc/releases") - maven("https://maven.notenoughupdates.org/releases") } val shadowImplementation: Configuration by configurations.creating { @@ -154,11 +154,13 @@ dependencies { annotationProcessor("net.fabricmc:sponge-mixin:0.11.4+mixin.0.8.5") compileOnly("org.jetbrains:annotations:24.0.1") + modImplementation(libs.moulconfig) + shadowOnly(libs.moulconfig) + @Suppress("VulnerableLibrariesLocal") shadowApi("info.bliki.wiki:bliki-core:3.1.0") testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") testAnnotationProcessor("net.fabricmc:sponge-mixin:0.11.4+mixin.0.8.5") - // modImplementation("io.github.notenoughupdates:MoulConfig:0.0.1") detektPlugins("org.notenoughupdates:detektrules:1.0.0") devEnv("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") } @@ -167,7 +169,7 @@ dependencies { java { withSourcesJar() -// toolchain.languageVersion.set(JavaLanguageVersion.of(8)) + toolchain.languageVersion.set(JavaLanguageVersion.of(8)) } // Tasks: @@ -175,8 +177,6 @@ java { tasks.withType(JavaCompile::class) { options.encoding = "UTF-8" options.isFork = true - if (JavaVersion.current().isJava9Compatible) - options.release.set(8) } tasks.named("compileOneconfigJava", JavaCompile::class) { doFirst { |