Closed EmmanueleVilla closed 4 years ago
Maybe change this line:
implementation kotlin("org.reduxkotlin:redux-kotlin:0.4.0")
to
implementation("org.reduxkotlin:redux-kotlin:0.4.0")
Thanks that fixed it! I saw that the other libraries were imported that way, so.. I also needed to upgrade gradle to your version to match the metadata version. Anyway, I still have a problem.. The gradle build succeded but I still can't use the library because I can't see it, like it isn't present in the gradle file.. I have no "org.xxx" namespace to be imported. Do you have any clue?
@EmmanueleVilla hmm, that is odd. Are you still having this problem? Is this project a multi-module project? If so is the lib imported into the module you are referring to?
@patjackson52 yes, I still have this problem, you can see it in the repository that I've shared in my first comment. Anyway, I've abandoned that repository and initialized a new one using kampkit, and in that project I can succesfully import your library, so maybe I've just messed up some gradle in the first repo :)
Good to hear. closing this ticket as it seems to be an environment issue.
Hi, I'm trying to develop a sample-app using kotlin multiplatform and redux-kotlin but I'm struggling to setup the library for a new multiplatform project. I've created a "Kotlin/Multiplatform" project from IntelliJ 2019.3.2
This is my gradle file:
And I have this error when I try to build:
You can find the whole project at this repository: https://github.com/EmmanueleVilla/themoviedb-kotlinmultiplatform