first commit-ish, forked and updated for 1.21.11
Some checks failed
Compile / gradle (ubuntu-latest) (push) Has been cancelled
Some checks failed
Compile / gradle (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Precompiled [net.nuggetmc.java-conventions.gradle.kts][Net_nuggetmc_java_conventions_gradle] script plugin.
|
||||
*
|
||||
* @see Net_nuggetmc_java_conventions_gradle
|
||||
*/
|
||||
public
|
||||
class Net_nuggetmc_javaConventionsPlugin : org.gradle.api.Plugin<org.gradle.api.Project> {
|
||||
override fun apply(target: org.gradle.api.Project) {
|
||||
try {
|
||||
Class
|
||||
.forName("Net_nuggetmc_java_conventions_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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user