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

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

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

/**
 * Precompiled [java-library.gradle.kts][io.knotx.Java_library_gradle] script plugin.
 *
 * @see io.knotx.Java_library_gradle
 */
class JavaLibraryPlugin : org.gradle.api.Plugin {
    override fun apply(target: org.gradle.api.Project) {
        try {
            Class
                .forName("io.knotx.Java_library_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