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

io.knotx.MavenPublishPlugin.kt Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package io.knotx

/**
 * Precompiled [maven-publish.gradle.kts][io.knotx.Maven_publish_gradle] script plugin.
 *
 * @see io.knotx.Maven_publish_gradle
 */
class MavenPublishPlugin : org.gradle.api.Plugin {
    override fun apply(target: org.gradle.api.Project) {
        try {
            Class
                .forName("io.knotx.Maven_publish_gradle")
                .getDeclaredConstructor(org.gradle.api.Project::class.java, org.gradle.api.Project::class.java)
                .newInstance(target, target)
        } catch (e: java.lang.reflect.InvocationTargetException) {
            throw e.targetException
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy