.gradle.kotlin.resources.producer.0.2.0.source-code.ProducerPlugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of producer Show documentation
Show all versions of producer Show documentation
Gradle plugin to expose Kotlin/JS resources to dependent projects
package opensavvy.gradle.resources.producer
import org.gradle.api.Plugin
import org.gradle.api.Project
@Suppress("unused")
class ProducerPlugin : Plugin {
override fun apply(target: Project) {
target.pluginManager.withPlugin("org.jetbrains.kotlin.multiplatform") {
target.initializeForKotlin()
}
}
}