Is it possible to use Kotlin gradle dependencies i...
# react
j
Is it possible to use Kotlin gradle dependencies inside a create-react-kotlin-app?
g
I think you’re suppose to “eject” to see the full used configuration, but I don’t know if it uses Gradle
I use kotlin + react + gradle here https://github.com/galex/reproducer-bug-ktor
You can see how /frontend/ is configured
Altough I changed things in there since, and I use kotlin-frontend-plugin (which this one doesn’t)
j
Thanks for the example. That looks promising.
I'm surprised jetbrains doesnt make it easier straight out of the box
g
They seem to not be sure which way to go, with or without gradle
j
As I better understand the problem, seems like repo owners could easily just publish artifacts to npm and gradle and we'd be good to go inside a Kotlin react app
g
Here’s an updated version of how I set up the project https://github.com/galex/analytics-kotlin-multiplatform
j
thanks for sharing!
👍 1