Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit 138b9e6

Browse files
authored
Fix JavaDoc (#8)
1 parent a557147 commit 138b9e6

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

build.gradle

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group 'fr.bakaaless'
9-
version '1.0.4'
9+
version '1.0.5'
1010

1111
def spigotVersion = '1.16'
1212
def subVersion = '.5'
@@ -28,6 +28,21 @@ processResources {
2828
filter ReplaceTokens, tokens: [NAME: rootProject.name, VERSION: version, APIVERSION: spigotVersion]
2929
}
3030

31+
task sourcesJar(type: Jar, dependsOn: classes) {
32+
classifier 'sources'
33+
from sourceSets.main.allSource
34+
}
35+
36+
task javadocJar(type: Jar, dependsOn: javadoc) {
37+
classifier 'javadoc'
38+
from javadoc.destinationDir
39+
}
40+
41+
artifacts {
42+
archives sourcesJar
43+
archives javadocJar
44+
}
45+
3146
jar {
3247
archiveName rootProject.name + '.jar'
3348
}

0 commit comments

Comments
 (0)