api / org.gradle.api.tasks.compile / GroovyCompileOptions / getFileExtensions

getFileExtensions

@Input open fun getFileExtensions(): MutableList<String>

Returns the list of acceptable source file extensions. Only takes effect when compiling against Groovy 1.7 or higher. Defaults to ImmutableList.of("java", "groovy").