Skip to content

Commit

Permalink
Add javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
deividasstr committed Apr 16, 2018
1 parent 7d7944c commit 4a73e4e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
group 'com.xandryex'
group 'com.github.deividasstr'
version '0.3'

apply plugin: 'java-library'
apply plugin: 'maven'

sourceCompatibility = 1.8

Expand All @@ -15,3 +16,18 @@ dependencies {
implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

artifacts {
archives sourcesJar
archives javadocJar
}

0 comments on commit 4a73e4e

Please sign in to comment.