serviceloader.gradle-plugin.0.0.11.source-code.App_softwork_serviceloaderPlugin.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin Show documentation
Show all versions of gradle-plugin Show documentation
A Gradle plugin to generate and validate service loaders
The newest version!
/**
* Precompiled [app.softwork.serviceloader.gradle.kts][App_softwork_serviceloader_gradle] script plugin.
*
* @see App_softwork_serviceloader_gradle
*/
public
class App_softwork_serviceloaderPlugin : org.gradle.api.Plugin {
override fun apply(target: org.gradle.api.Project) {
try {
Class
.forName("App_softwork_serviceloader_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
}
}
}