File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,18 @@ repositories {
15
15
maven { url " http://repo.bodar.com" }
16
16
}
17
17
18
+ task javadocsJar (type : Jar , dependsOn : shadowJar) {
19
+ from javadoc
20
+ baseName = ' javarepl'
21
+ classifier = ' javadoc'
22
+ }
23
+
24
+ task sourcesJar (type : Jar , dependsOn : shadowJar) {
25
+ baseName = ' javarepl'
26
+ classifier = ' sources'
27
+ from sourceSets. main. allSource
28
+ }
29
+
18
30
publishing {
19
31
repositories {
20
32
jcenter()
@@ -28,10 +40,18 @@ publishing {
28
40
}
29
41
}
30
42
43
+ artifacts {
44
+ archives javadocsJar
45
+ archives sourcesJar
46
+ }
47
+
48
+
49
+
31
50
bintray {
32
51
user = System . getenv(" BINTRAY_USERNAME" )
33
52
key = System . getenv(" BINTRAY_API_KEY" )
34
53
publications = [' shadow' ]
54
+ configurations = [' archives' ]
35
55
publish = true
36
56
37
57
pkg {
You can’t perform that action at this time.
0 commit comments