Skip to content

Commit

Permalink
fixed publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nansess committed Mar 20, 2024
1 parent eb977b4 commit 7d9e77d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
8 changes: 8 additions & 0 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

0 comments on commit 7d9e77d

Please sign in to comment.