subprojects {

    eclipse {

        jdt {
            // if you want to alter the java versions (by default they are configured with gradle java plugin settings):
            sourceCompatibility = 1.8
            targetCompatibility = 1.8

            file {
                withProperties { properties ->
                    properties.setProperty('org.eclipse.jdt.core.compiler.problem.invalidJavadocTags', 'disabled')
                }
            }
        }
    }
}
