2019-07-10 23:33:21 +00:00
|
|
|
import org.gradle.api.Project
|
|
|
|
import org.gradle.api.plugins.ExtraPropertiesExtension
|
2019-07-11 00:45:33 +00:00
|
|
|
import org.gradle.api.plugins.JavaPluginConvention
|
|
|
|
import org.gradle.api.tasks.SourceSetContainer
|
2019-07-10 23:33:21 +00:00
|
|
|
import org.gradle.kotlin.dsl.getByType
|
2019-07-11 00:45:33 +00:00
|
|
|
import org.gradle.kotlin.dsl.the
|
2019-07-10 23:33:21 +00:00
|
|
|
|
|
|
|
val Project.ext: ExtraPropertiesExtension
|
|
|
|
get() = extensions.getByType()
|
2019-07-11 00:45:33 +00:00
|
|
|
|
|
|
|
val Project.sourceSets: SourceSetContainer
|
|
|
|
get() = the<JavaPluginConvention>().sourceSets
|