I recently had to add a compile time only dependency for my Android
project. Finally I figured out how to do that with gradle this way
<https://stackoverflow.com/questions/10405970/how-do-i-define-a-compile-time-only-classpath-in-gradle/24686771#24686771>
and
my project compiles fine. But the compile time only dependency doesn't seem
to be in Android Studio's classpath, hence Android Studio fails to resolve
the class symbols and autocomplete doesn't work.
Is there a way to tell Android studio to add my compile time only libraries
to its classpath ?
In intellij, the way to do this would be:
idea {
module{
scopes.PROVIDED.plus += configurations.providedlibs
}
}
Is there a way to do it on studio ?
http://stackoverflow.com/questions/24687296/is-there-a-way-to-customize-the-scopes-for-android-studio-using-gradle
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.