Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Commit

Permalink
Fixing javadoc classpath and disabling lint for example projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergej Shafarenka committed Jan 22, 2019
1 parent 05a10b3 commit 040dd07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 0 additions & 5 deletions featured-sample-library/build.gradle
Expand Up @@ -15,11 +15,6 @@ android {
versionName "0.2.0"
}

lintOptions {
textReport true
textOutput 'stdout'
}

buildTypes {
debug {
minifyEnabled true
Expand Down
5 changes: 0 additions & 5 deletions featured-sample/build.gradle
Expand Up @@ -16,11 +16,6 @@ android {
versionName '0.2.0'
}

lintOptions {
textReport true
textOutput 'stdout'
}

buildTypes {
debug {
minifyEnabled true
Expand Down
6 changes: 6 additions & 0 deletions gradle/gradle-mvn-push.gradle
Expand Up @@ -140,6 +140,12 @@ afterEvaluate { project ->
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

afterEvaluate {
androidJavadocs.classpath += files(android.libraryVariants.collect { variant ->
variant.javaCompile.classpath.files
})
}

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
classifier = 'javadoc'
from androidJavadocs.destinationDir
Expand Down

0 comments on commit 040dd07

Please sign in to comment.