-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add provided dependencies to classpath of androidJavadocs #43
Comments
+1 |
I encountered the same problem. It looks that path needs to be appended here: https://github.com/chrisbanes/gradle-mvn-push/blob/master/gradle-mvn-push.gradle#L97 If you are using afterEvaluate { project ->
android.libraryVariants.all { variant ->
tasks.androidJavadocs.doFirst {
classpath += files(variant.javaCompile.classpath.files)
}
}
} |
@jfresen I meet the error :Could not get unknown property 'android' for task ':androidJavadocs' Did you solve your problem? |
I have fixed it in my library using: drakeet/MultiType@ef940c0 Maybe I could create a PR for the project? @chrisbanes |
I'm using provided dependencies in my library project, which works fine but for one issue. When the uploadArchives task executes the androidJavadocs task, it gives compiler errors (interpreted by androidJavadocs as warnings) for all references to the provided dependencies. Is there a way in which I can add the provided dependencies to the classpath of androidJavadocs?
The text was updated successfully, but these errors were encountered: