aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-05 10:57:42 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-05 10:57:42 +0200
commit72c024213e7c61411ce12f6032f8ef0659408c3a (patch)
treef4a16747c22ece59a3f96708b4fadc82be87e385 /build.gradle.kts
parent44dfbbb419f1736530c04c02a651f7757cf83f3d (diff)
downloadOneConfig-72c024213e7c61411ce12f6032f8ef0659408c3a.tar.gz
OneConfig-72c024213e7c61411ce12f6032f8ef0659408c3a.tar.bz2
OneConfig-72c024213e7c61411ce12f6032f8ef0659408c3a.zip
polyfrost repo
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts16
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
}