Gradle unable to compile new files


I did a build of my project using gradlew. Later I added few more files and a folder. However, those files are not compiled neither the folder is getting added in build/classes. What could be the possible root cause and solution?

Thanks in advance!

You’ll need to provide more information, ideally a little example project that demonstrates the problem. What is your folder structure, what does your build file look like etc?

Thanks for the reply. Got it sorted out, my import package structure was different than the location I was trying to find the files. Compilation is working as expected.