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 f120cbe commit 982e800Copy full SHA for 982e800
build.gradle
@@ -91,6 +91,15 @@ if(hasProperty('target') && target == 'android') {
91
main = System.getProperty('mainClass')
92
classpath = sourceSets.main.runtimeClasspath
93
}
94
+
95
+ task sourcesJar(type: Jar, dependsOn: classes) {
96
+ classifier = 'sources'
97
+ from sourceSets.main.allSource
98
+ }
99
100
+ artifacts {
101
+ archives sourcesJar
102
103
104
105
dependencies {
@@ -127,4 +136,3 @@ bintray {
127
136
128
137
129
138
130
-
0 commit comments