import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.21" `maven-publish` } tasks.withType().configureEach { kotlinOptions.jvmTarget = "1.8" } group = "com.github.replaymod" version = "SNAPSHOT" repositories { mavenCentral() } dependencies { api("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.21") implementation(kotlin("stdlib")) api("org.cadixdev:lorenz:0.5.0") } tasks.named("jar") { archiveBaseName.set("remap") } publishing { publications { create("maven", MavenPublication::class) { from(components["java"]) } } }