Super Interface not present in class path

I am using > org.openrepose.gradle.plugins.jaxb plugin to generate classes from schema.
I am using a super interface com.test.xsd.Element. Using xjb I am configuring the interface. This interface is in my current project src/main/java location. Jaxb classes generating successfully and Implementing the interface. but compilation fails with “com.test.xsd” package does not exist. import com.test.xsd.Element.Element; how we can add this interface to the class path.

subprojects { project ->
apply plugin: 'org.openrepose.gradle.plugins.jaxb’
dependencies {
jaxb 'com.sun.xml.bind:jaxb-xjc:2.2.7’
jaxb 'com.sun.xml.bind:jaxb-impl:2.2.7’
jaxb ‘javax.xml.bind:jaxb-api:2.2.7’

    def generatedDir = "${project.buildDir}/generated-sources/xjc"

    jaxb {
        xjc {
			destinationDir = "${generatedDir}"

    sourceSets {
        main {
            java {
                srcDirs += "${generatedDir}"