Skip to content
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

How to make Dokka work with Android Studio? #118

Closed
snowdream opened this issue Nov 25, 2016 · 2 comments
Closed

How to make Dokka work with Android Studio? #118

snowdream opened this issue Nov 25, 2016 · 2 comments

Comments

@snowdream
Copy link

Hi, I am using Kotlin 1.0.4 with Dokka 0.9.9 on Android Studio 2.2

When I try to do gradle sync, an error accrued.

Gradle sync failed: Unable to find method
'com.android.build.gradle.api.BaseVariant.getJavaCompiler()Lorg/gradle/api/tasks/compile/AbstractCompile;'.`

Now I have no choice but to remove dokka plugin.
How can I fix it?

@semoro
Copy link
Contributor

semoro commented Nov 25, 2016

It will be fixed in next dokka release soon, now you can manually clone this repository and execute ./gradlew publishToMavenLocal , than add mavenLocal() to your buildscript repositories and switch to version 0.9.10 in your gradle. Warning, if you do so after dokka release you would need to remove manually installed version from your maven local

@snowdream
Copy link
Author

ok,Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants