Gradle - Being told packages do not exist
Answered
Hi,
IntelliJ noob here. I've created a project using Kryo and its dependencies as libraries. The project compiles fine in IntelliJ, but if I try to build it into a jar with Gradle in the terminal, it gives me a load of error messages saying that packages don't exist. Interestingly, the only package it complains about is com.esotericsoftware.kryo. I've tried invalidating caches and restarting, but it didn't work.
I'm using the libGDX game development framework if it makes any difference. I'll post a stack trace or whatever you want if you ask. Any insight at all into this problem would be greatly appreciated.
Please sign in to leave a comment.
Hi. Does it work when you use IDEA Gradle tool window? https://www.jetbrains.com/help/idea/gradle.html#e50be7fb
Thank you for your reply. I've already figured out what was wrong, it was just a problem in my Gradle configuration.