name.remal.gradle_plugins.dsl.extensions.org.gradle.api.tasks.SourceSetOutput.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugins-kotlin-dsl Show documentation
Show all versions of gradle-plugins-kotlin-dsl Show documentation
Remal Gradle plugins: gradle-plugins-kotlin-dsl
package name.remal.gradle_plugins.dsl.extensions
import name.remal.uncheckedCast
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.tasks.SourceSetOutput
fun SourceSetOutput.addClassesDir(path: Any) = addClassesDirs(path)
fun SourceSetOutput.addClassesDirs(vararg paths: Any) {
classesDirs
.uncheckedCast()
.from(*paths)
}