I have a project with several subprojects, I have a
common
subproject that contains an interface used in each subproject to keep the design consistent, the problem im having is I want to only use this interface in my own code, it should not be used outside of my library source code. I do not want this common module in the publication
interface Library {
fun version(): Int
fun configuration(): String
fun license(): String
}
My implementation class for each subproject all say the same kind of error:
Cannot access 'dev.zt64.ffmpegkt.Library' which is a supertype of 'dev.zt64.ffmpegkt.avformat.AVFormat'. Check your module classpath for missing or conflicting dependencies
In the subproject i just have
implementation(project(":common"))
Is there something I can do?