Skip to content

Commit

Permalink
include javadocs and sources
Browse files Browse the repository at this point in the history
  • Loading branch information
venikkin committed Jan 16, 2023
1 parent 870e2b8 commit b2c9ad2
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ repositories {
sourceCompatibility = 1.8
targetCompatibility = 1.8

java {
withJavadocJar()
withSourcesJar()
}

dependencies {
// main
// vertx
Expand Down Expand Up @@ -56,20 +61,6 @@ task removeTestStack(type: Exec) {
commandLine './remove-stack.sh'
}

task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar) {
archiveClassifier = 'javadoc'
from javadoc
}

artifacts {
archives javadocJar, sourcesJar
}

publishing {
publications{
mavenJava(MavenPublication){
Expand Down

0 comments on commit b2c9ad2

Please sign in to comment.