io.knotx.PublishAllCompositePlugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of knotx-gradle-plugins Show documentation
Show all versions of knotx-gradle-plugins Show documentation
Knot.x Gradle Plugins minimize Knot.x modules Gradle configuration.
package io.knotx
/**
* Precompiled [publish-all-composite.gradle.kts][io.knotx.Publish_all_composite_gradle] script plugin.
*
* @see io.knotx.Publish_all_composite_gradle
*/
class PublishAllCompositePlugin : org.gradle.api.Plugin {
override fun apply(target: org.gradle.api.Project) {
try {
Class
.forName("io.knotx.Publish_all_composite_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
}
}
}