iHDeveloper
09/27/2020, 9:48 AMcore and the other is called other . The other project has compileOnly(project(":core")) in the dependencies. I can code normally and I’m able to reference stuff in core project using the IDE (IntelliJ).
But, during compileKotlin task for the project other . The compiler throws Unresolved reference: stuff. ☹️
It throws it for the import package from core project. And, the stuff I referenced in that package.
It seems like the compiler didn’t include core project in other during the compilation. I tried to find an answer on the internet.
But, couldn’t find what I’m looking for. I tried to clear the Gradle cache. Also, removed the build folder. But, both of them didn’t work
What’s the issue? And, how can I solve it? 🤔