diff --git a/build.gradle b/build.gradle index 067f6f0b7..d6ee417dc 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,7 @@ buildscript { plugins { id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion" + id 'maven-publish' } apply plugin: 'net.minecraftforge.gradle' @@ -198,7 +199,11 @@ reobf { } } -artifacts { - shadowJar -} - +publishing { + publications { + api(MavenPublication) { + artifact source: buildApi, classifier: null + artifact source: buildApiSource, classifier: 'sources' + } + } +} \ No newline at end of file