gradle-plugins/gradle-plugin-asciidoctor/build.gradle

38 lines
No EOL
1.2 KiB
Groovy

plugins {
alias(libs.plugins.publish)
}
apply plugin: 'com.gradle.plugin-publish'
apply from: rootProject.file('gradle/compile/groovy.gradle')
apply from: rootProject.file('gradle/test/junit5.gradle')
dependencies {
implementation libs.asciidoctorj
implementation libs.jruby
implementation libs.asm
implementation libs.asm.commons
implementation libs.asm.util
testImplementation platform(testLibs.spock.bom)
testImplementation testLibs.spock.core
testImplementation testLibs.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'])
}
}
}
}
*/