diff --git a/main/build.gradle b/main/build.gradle index cb28feb0..08cd465e 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -25,6 +25,17 @@ dependencies { compileOnly "org.slf4j:slf4j-api:2.0.7" } +publishing { + publications { + maven(MavenPublication) { + pom { + artifactId archivesBaseName + from components.java + } + } + } +} + kotlin { jvmToolchain(11) } diff --git a/plugin/build.gradle b/plugin/build.gradle index 6ff1f04b..b918afc7 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -19,3 +19,11 @@ dependencies { implementation "com.github.topi314.lavasearch:lavasearch-plugin-api:1.0.0" } +publishing { + publications { + maven(MavenPublication) { + from components.java + artifactId archivesBaseName + } + } +}