File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ publishing {
4646bintray {
4747 user = mapboxBintrayUser
4848 key = mapboxBintrayApiKey
49- publications = [ ' MapboxGesturesPublication' ]
49+ publications( ' MapboxGesturesPublication' )
5050 pkg {
5151 repo = project. ext. mapboxBintrayRepoName
5252 name = project. ext. mapboxArtifactId
@@ -83,9 +83,18 @@ artifactory {
8383 }
8484}
8585
86+ task androidJavadocs (type : Javadoc ) {
87+ source = android. sourceSets. main. java. sourceFiles
88+ classpath = files(android. bootClasspath)
89+ failOnError = false
90+ }
91+
92+ task androidJavadocsJar (type : Jar , dependsOn : androidJavadocs) {
93+ classifier = ' javadoc'
94+ from androidJavadocs. destinationDir
95+ }
8696
87- tasks. withType(Javadoc ) {
88- options. addStringOption(' encoding' , ' UTF-8' )
89- options. addStringOption(' docencoding' , ' UTF-8' )
90- options. addStringOption(' charset' , ' UTF-8' )
97+ task androidSourcesJar (type : Jar ) {
98+ classifier = ' sources'
99+ from android. sourceSets. main. java. sourceFiles
91100}
You can’t perform that action at this time.
0 commit comments