Skip to content

Commit

Permalink
Generate a sources and javadoc jar for publication
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanH committed Mar 18, 2022
1 parent a0331b8 commit 30eff57
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gMark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ sourceSets{
}
resources{
srcDirs 'src'
exclude '**/*.java'
}
}
client{
Expand All @@ -42,6 +43,11 @@ sourceSets{
}
}

java{
withSourcesJar()
withJavadocJar()
}

test{
useJUnitPlatform()
dependsOn 'cleanTest'
Expand Down Expand Up @@ -76,6 +82,7 @@ components.java.withVariantsFromConfiguration(project.configurations.shadowRunti

javadoc{
options.memberLevel = JavadocMemberLevel.PRIVATE
options.encoding = 'UTF-8'
}

eclipse.classpath.downloadJavadoc = true
Expand Down

0 comments on commit 30eff57

Please sign in to comment.