Skip to content

Commit

Permalink
upload non-shadow jar to repo (like before)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Jan 8, 2022
1 parent d3772b8 commit 9483bfc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ dependencies {

ext.isReleaseVersion = !version.endsWith("SNAPSHOT")

java {
withJavadocJar()
withSourcesJar()
}

publishing {
repositories {
maven {
Expand All @@ -40,8 +45,8 @@ publishing {
}

publications {
mavenJava(MavenPublication) { publication ->
project.shadow.component(publication)
mavenJava(MavenPublication) {
from components.java
artifactId = 'velocity'
pom {
name = 'exaroton velocity API'
Expand Down

0 comments on commit 9483bfc

Please sign in to comment.