Are there examples on how we can use common gradle kts files across other gradle files? Typically, I would apply the kotlin jvm plugin in subprojects and do some configurations. However, if I don’t apply the same plugin in the module specific gradle file, it won’t recognize jvm methods such as
implementation
. Is there a way around that?
e
ephemient
09/21/2020, 5:24 AM
Copy code
dependencies {
"implementation"(...)
}
j
Javier
09/21/2020, 10:17 AM
I create precompiled plugin for each type so later I just add some specific dependencies
a
Allan Wang
09/22/2020, 7:35 AM
^ How does that work? I have a
buildSrc
plugin already but don’t i need to apply the kotlin plugin there?