2019-07-30 05:25:13 +02:00
|
|
|
import org.gradle.api.Project
|
|
|
|
import org.gradle.api.plugins.ExtraPropertiesExtension
|
2022-03-12 23:21:50 +01:00
|
|
|
import org.gradle.api.plugins.JavaPluginExtension
|
2019-07-30 05:25:13 +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
|
2022-03-12 23:21:50 +01:00
|
|
|
get() = the<JavaPluginExtension>().sourceSets
|