org.danilopianini.gradle.latex.Latex.kt Maven / Gradle / Ivy
package org.danilopianini.gradle.latex
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.create
import org.slf4j.LoggerFactory
/**
* A Plugin configuring the project for publishing on Maven Central
*/
class Latex : Plugin {
companion object {
/**
* The name of the publication to be created.
*/
const val TASK_GROUP = "LaTeX"
const val EXTENSION_NAME = "latex"
val LOG = LoggerFactory.getLogger(Latex::class.java)
}
override fun apply(project: Project) {
project.extensions.create(EXTENSION_NAME, project)
}
}