Removed problematic sourceset casting
This commit is contained in:
parent
4e1782192e
commit
8c579e3e89
@ -35,7 +35,7 @@ object Extras {
|
|||||||
// set for the project
|
// set for the project
|
||||||
const val description = "Gradle Plugin to manage various Gradle tasks, such as updating gradle and dependencies"
|
const val description = "Gradle Plugin to manage various Gradle tasks, such as updating gradle and dependencies"
|
||||||
const val group = "com.dorkbox"
|
const val group = "com.dorkbox"
|
||||||
const val version = "1.5.3"
|
const val version = "1.6"
|
||||||
|
|
||||||
// set as project.ext
|
// set as project.ext
|
||||||
const val name = "Gradle Utils"
|
const val name = "Gradle Utils"
|
||||||
|
@ -80,6 +80,3 @@ val SourceSet.kotlin: SourceDirectorySet
|
|||||||
fun SourceSet.kotlin(action: SourceDirectorySet.() -> Unit) =
|
fun SourceSet.kotlin(action: SourceDirectorySet.() -> Unit) =
|
||||||
kotlin.action()
|
kotlin.action()
|
||||||
|
|
||||||
val Project.sourceSetsMap: SortedMap<String, SourceSet>
|
|
||||||
get() = (this.extensions.getByName("sourceSets") as org.gradle.api.tasks.SourceSetContainer).asMap
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user