All Downloads are FREE. Search and download functionalities are using the official Maven repository.

seskar.gradle.plugin.SeskarReactPlugin.kt Maven / Gradle / Ivy

There is a newer version: 3.60.0
Show newest version
package seskar.gradle.plugin

import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies

private const val JS_MAIN_IMPLEMENTATION: String = "jsMainImplementation"

private val SESKAR_REACT: String
    get() = sequenceOf(
        KOTLIN_PLUGIN_ARTIFACT.groupId,
        "seskar-react",
        KOTLIN_PLUGIN_ARTIFACT.version,
    ).joinToString(":")

internal class SeskarReactPlugin : Plugin {
    override fun apply(target: Project): Unit = with(target) {
        dependencies {
            JS_MAIN_IMPLEMENTATION(SESKAR_REACT)
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy