diff options
-rw-r--r-- | build.gradle.kts | 16 | ||||
-rw-r--r-- | settings.gradle.kts | 3 |
2 files changed, 5 insertions, 14 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index a9c3470..6ffa65d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,5 @@ -import gg.essential.gradle.util.noServerRunConfigs import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar -import gg.essential.gradle.util.RelocationTransform.Companion.registerRelocationAttribute -import gg.essential.gradle.util.prebundle +import gg.essential.gradle.util.noServerRunConfigs plugins { kotlin("jvm") @@ -58,7 +56,7 @@ loom { } repositories { - maven("https://repo.woverflow.cc/") + maven("https://repo.polyfrost.cc/releases") } val shade: Configuration by configurations.creating { @@ -71,16 +69,8 @@ val lwjglNative: Configuration by configurations.creating { isTransitive = false } -val dummyImpl: Configuration by configurations.creating { - configurations.implementation.get().extendsFrom(this) -} - sourceSets { - val dummy by creating { - compileClasspath += dummyImpl - } main { - compileClasspath += dummy.output runtimeClasspath += lwjglNative output.setResourcesDir(java.classesDirectory) } @@ -100,7 +90,7 @@ val lwjglJar by tasks.registering(ShadowJar::class) { } dependencies { - dummyImpl("gg.essential:vigilance-$platform:222") { + compileOnly("gg.essential:vigilance-$platform:222") { isTransitive = false } diff --git a/settings.gradle.kts b/settings.gradle.kts index 92d73b9..4995b5d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -2,7 +2,8 @@ pluginManagement { repositories { gradlePluginPortal() mavenCentral() - maven("https://repo.woverflow.cc") + maven("https://repo.polyfrost.cc/releases") + maven("https://maven.architectury.dev/") } plugins { val egtVersion = "0.1.7" |