diff --git a/build.gradle.kts b/build.gradle.kts index 2cb1755d2..1b48fd99d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,11 +21,6 @@ plugins { id("org.spongepowered.mixin") } -configurations { - create("klibrary") // kotlin libs - get("implementation").extendsFrom(get("klibrary")) -} - data class GitInfo(val version: String, val tag: String, val buildNumber: String) { // val tagIsVersion: Boolean get() = tag != "" && tag.matches(Regex("v[0-9]+\\.[0-9]\\.[0-9]")) @@ -134,7 +129,6 @@ tasks.test { dependencies { val jupiter_version: String by project - val kotlin_version: String by project val kotlin_for_forge_version: String by project val mixin_version: String by project @@ -143,15 +137,6 @@ dependencies { implementation("thedarkcolour:kotlinforforge:$kotlin_for_forge_version") - fun klibrary(notation: Any) { this.add("klibrary", notation) } - - val excludeKGroup = closureOf { - (this as ExternalModuleDependency).exclude(group = "org.jetbrains", module = "annotations") - } as Closure - - klibrary(create("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version", excludeKGroup)) - klibrary(create("org.jetbrains.kotlin:kotlin-reflect:$kotlin_version", excludeKGroup)) - compileOnly("yalter.mousetweaks:MouseTweaks:2.23:api") annotationProcessor("org.spongepowered:mixin:${mixin_version}:processor")