name.remal.gradle_plugins.dsl.extensions.org.gradle.api.tasks.SourceSetContainer.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 org.gradle.api.tasks.SourceSet
import org.gradle.api.tasks.SourceSet.MAIN_SOURCE_SET_NAME
import org.gradle.api.tasks.SourceSet.TEST_SOURCE_SET_NAME
import org.gradle.api.tasks.SourceSetContainer
val SourceSetContainer.main: SourceSet get() = this[MAIN_SOURCE_SET_NAME]
val SourceSetContainer.test: SourceSet get() = this[TEST_SOURCE_SET_NAME]