diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-05 10:57:42 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-05 10:57:42 +0200 |
commit | 72c024213e7c61411ce12f6032f8ef0659408c3a (patch) | |
tree | f4a16747c22ece59a3f96708b4fadc82be87e385 /build.gradle.kts | |
parent | 44dfbbb419f1736530c04c02a651f7757cf83f3d (diff) | |
download | OneConfig-72c024213e7c61411ce12f6032f8ef0659408c3a.tar.gz OneConfig-72c024213e7c61411ce12f6032f8ef0659408c3a.tar.bz2 OneConfig-72c024213e7c61411ce12f6032f8ef0659408c3a.zip |
polyfrost repo
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 16 |
1 files changed, 3 insertions, 13 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 } |