Removed invalid function overload. It caused gradle to crash
This commit is contained in:
parent
62f19c7b37
commit
383e172c72
@ -107,12 +107,6 @@ fun KotlinSourceSet.kotlin(action: SourceDirectorySet.() -> Unit) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Project.getSourceFiles(type: String = "main"): Array<File> {
|
|
||||||
val ss = (this as org.gradle.api.plugins.ExtensionAware).extensions.getByName("sourceSets") as org.gradle.api.tasks.SourceSetContainer
|
|
||||||
val main = ss.named(type, org.gradle.api.tasks.SourceSet::class.java)
|
|
||||||
return main.get().allSource.map { it.absoluteFile }.toTypedArray()
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the specified files AS REGULAR FILES to the jar. NOTE: This is done in-memory...
|
* Adds the specified files AS REGULAR FILES to the jar. NOTE: This is done in-memory...
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user