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 { website = 'https://xbib.org/joerg/gradle-plugins/src/branch/main/gradle-plugin-asciidoctor' vcsUrl = 'https://xbib.org/joerg/gradle-plugins' 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)' tags.set(['asciidoctor']) } } } }