Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Budiyev committed Feb 18, 2022
1 parent 0255fa4 commit 657c016
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,20 @@ task sourcesJar(type: Jar) {
}

task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
options.charSet = 'UTF-8'
failOnError false
source = android.sourceSets.main.java.sourceFiles
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
failOnError = false
}

task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier.set('javadoc')
from javadoc.getDestinationDir()
from javadoc.destinationDir
}

artifacts {
archives javadocJar
archives sourcesJar
archives javadocJar
}

afterEvaluate {
Expand Down

0 comments on commit 657c016

Please sign in to comment.