https://kotlinlang.org logo
#android
Title
# android
s

smuldr

08/22/2017, 8:05 AM
@yperess I just tried to upgrade to AGP 3.0.0-beta2, and I'm running into the same issue with using extension functions across modules. Also an extension on
Context
, by the way 🤔
g

gildor

08/22/2017, 8:07 AM
Do you use
implementation
configuration for module dependencies?
s

smuldr

08/22/2017, 8:16 AM
jup
g

gildor

08/22/2017, 8:21 AM
dependencies with
implementation
configuration available only in current module, so they are not transient. Maybe it’s your case
s

smuldr

08/22/2017, 8:31 AM
Well, the dependency tree is pretty simple here. No transitive dependencies required.
In fact: all other classes from my
util
library project are found correctly. Seems like only the extension functions/variables are problematic.
y

yperess

08/22/2017, 11:04 AM
Yup, only extension functions get lost. This has nothing to do with
implementation
vs
api
, that could only make a difference if the dependency tree was 3+ levels deep.