.internal.pswg-submodule-dependencies.0.2.source-code.PSWGGradleExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pswg-submodule-dependencies Show documentation
Show all versions of pswg-submodule-dependencies Show documentation
Gradle plugin to forward dependencies of Fabric Loom subprojects to their dependents
The newest version!
import net.fabricmc.loom.api.LoomGradleExtensionAPI
import org.gradle.api.Action
import org.gradle.api.Project
import org.gradle.api.plugins.ExtensionAware
import org.gradle.api.plugins.ExtraPropertiesExtension
import org.gradle.kotlin.dsl.getByName
fun Project.loom(configure: Action) =
extensions.configure("loom", configure)
val ExtensionAware.ext
get() = extensions.getByName("ext")