We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62c5a87 commit 27fd4c9Copy full SHA for 27fd4c9
build.gradle
@@ -1,8 +1,3 @@
1
-plugins {
2
- id "com.moowork.node" version "1.2.0"
3
- id 'com.github.kt3k.coveralls' version '2.8.2' // Coverage
4
-}
5
-
6
apply plugin: 'java'
7
8
group 'de.inetsoftware.jwebassembly'
@@ -26,3 +21,23 @@ sourceSets {
26
21
}
27
22
28
23
24
+
25
+task sourcesJar(type: Jar, dependsOn: classes) {
+ classifier = 'sources'
+ from sourceSets.main.allSource
+}
29
30
+task javadocJar(type: Jar, dependsOn: javadoc) {
31
+ classifier = 'javadoc'
32
+ from javadoc.destinationDir
33
34
35
+build {
36
+ dependsOn sourcesJar
37
+ dependsOn javadocJar
38
39
40
+artifacts {
41
+ archives sourcesJar
42
+ archives javadocJar
43
0 commit comments