Incorrect Classpath Warning

I am using aspectj with gradle and so far everything seems to be working as expected, however I am getting the following warning

[ant:iajc] [warning] incorrect classpath: C:\Users\edunn\eclipse-workspace\iC\build\resources\main

I found a very similar (almost identical really) thread at the following Weaving production aspect but I cannot seem to get the solution to work for my implementation. The warning seems to happen during the compileJava task. Here is the code in question. Any solutions or recommendations would be greatly appreciated

def aspectj = { destDir, aspectPath, inpath, classpath ->
    ant.taskdef(resource: "org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties", classpath: configurations.ajc.asPath)
    ant.iajc(
        maxmem: "1024m", fork: "true", Xlint: "ignore",
        destDir: destDir,
        aspectPath: aspectPath,
        inpath: inpath,
        classpath: classpath,
        source: sourceCompatibility,
        target: targetCompatibility
    )
}

compileJava {
    doLast {
        aspectj sourceSets.main.output.classesDirs[0].absolutePath, 
        configurations.aspects.asPath,
        sourceSets.main.output.classesDirs[0].absolutePath,
        sourceSets.main.runtimeClasspath.asPath
    }
}

I am trying to figure out where the path in question is being picked up. I set my source sets as followed

sourceSets {
    main {
        java {
            srcDir 'src/java'
        }
        resources {
            srcDir "src/resources/"
        }
    }
}