plugins { id 'java-gradle-plugin' alias(libs.plugins.publish) } apply plugin: 'java-gradle-plugin' apply plugin: 'com.gradle.plugin-publish' apply from: rootProject.file('gradle/compile/groovy.gradle') dependencies { api gradleApi() implementation libs.asciidoctorj implementation libs.jruby testImplementation libs.spock.core testImplementation libs.jsoup } if (project.hasProperty('gradle.publish.key')) { gradlePlugin { plugins { asciidoctorPlugin { id = 'org.xbib.gradle.plugin.asciidoctor' implementationClass = 'org.xbib.gradle.plugin.asciidoctor.AsciidoctorPlugin' version = project.version description = 'Asciidoctor plugin for building documentations (inofficial xbib fork)' displayName = 'Asciidoctor plugin for building documentations (inofficial xbib fork)' } } } /*pluginBundle { website = 'https://github.com/jprante/gradle-plugins' vcsUrl = 'https://github.com/jprante/gradle-plugins' tags = ['asciidoctor'] }*/ }