We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9886300 commit 08d2d57Copy full SHA for 08d2d57
1 file changed
build.gradle
@@ -25,3 +25,33 @@ dependencies {
25
compile group: 'io.netty', name: 'netty-all', version:'4.1.8.Final'
26
testCompile group: 'junit', name: 'junit', version:'4.12'
27
}
28
+
29
+task sourcesJar(type: Jar, dependsOn: classes) {
30
+ classifier = 'sources'
31
+ from sourceSets.main.allSource
32
+}
33
34
+task javadocJar(type: Jar, dependsOn: javadoc) {
35
+ classifier = 'javadoc'
36
+ from javadoc.destinationDir
37
38
39
+artifacts {
40
+ archives sourcesJar
41
+ archives javadocJar
42
43
44
+// To specify a license in the pom:
45
+install {
46
+ repositories.mavenInstaller {
47
+ pom.project {
48
+ licenses {
49
+ license {
50
+ name 'The MIT License (MIT)'
51
+ url 'https://github.com/bitsoex/bitso-java/blob/master/LICENSE'
52
+ distribution 'repo'
53
+ }
54
55
56
57
0 commit comments