2019-08-26 06:45:03 +02:00
|
|
|
import org.gradle.api.Project
|
|
|
|
import org.gradle.api.plugins.ExtraPropertiesExtension
|
2021-10-17 16:32:36 +02:00
|
|
|
import org.gradle.api.plugins.JavaPluginExtension
|
2019-08-26 06:45:03 +02:00
|
|
|
import org.gradle.api.tasks.SourceSetContainer
|
|
|
|
import org.gradle.kotlin.dsl.getByType
|
|
|
|
import org.gradle.kotlin.dsl.the
|
|
|
|
|
|
|
|
val Project.ext: ExtraPropertiesExtension
|
|
|
|
get() = extensions.getByType()
|
|
|
|
|
|
|
|
val Project.sourceSets: SourceSetContainer
|
2021-10-17 16:32:36 +02:00
|
|
|
get() = the<JavaPluginExtension>().sourceSets
|