2021-12-19 00:47:12 +01:00
|
|
|
plugins {
|
2022-02-19 23:05:50 +01:00
|
|
|
alias(libs.plugins.publish)
|
2021-12-19 00:47:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.gradle.plugin-publish'
|
|
|
|
|
|
|
|
apply from: rootProject.file('gradle/compile/groovy.gradle')
|
2024-01-08 00:38:42 +01:00
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2021-12-19 00:47:12 +01:00
|
|
|
|
|
|
|
dependencies {
|
2022-02-19 23:05:50 +01:00
|
|
|
implementation libs.asciidoctorj
|
|
|
|
implementation libs.jruby
|
2024-01-08 00:38:42 +01:00
|
|
|
implementation libs.asm
|
|
|
|
implementation libs.asm.commons
|
|
|
|
implementation libs.asm.util
|
|
|
|
testImplementation platform(testLibs.spock.bom)
|
|
|
|
testImplementation testLibs.spock.core
|
|
|
|
testImplementation testLibs.jsoup
|
2021-12-19 00:47:12 +01:00
|
|
|
}
|
|
|
|
|
2024-01-08 00:38:42 +01:00
|
|
|
/*
|
2021-12-19 00:47:12 +01:00
|
|
|
if (project.hasProperty('gradle.publish.key')) {
|
2022-06-01 10:13:13 +02:00
|
|
|
gradlePlugin {
|
2023-05-24 22:42:39 +02:00
|
|
|
website = 'https://xbib.org/joerg/gradle-plugins/src/branch/main/gradle-plugin-asciidoctor'
|
|
|
|
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
|
2021-12-19 00:47:12 +01:00
|
|
|
plugins {
|
|
|
|
asciidoctorPlugin {
|
|
|
|
id = 'org.xbib.gradle.plugin.asciidoctor'
|
2022-06-01 10:13:13 +02:00
|
|
|
implementationClass = 'org.xbib.gradle.plugin.asciidoctor.AsciidoctorPlugin'
|
2021-12-19 00:47:12 +01:00
|
|
|
version = project.version
|
2022-11-10 10:00:21 +01:00
|
|
|
description = 'Asciidoctor plugin for building documentations (inofficial xbib fork)'
|
|
|
|
displayName = 'Asciidoctor plugin for building documentations (inofficial xbib fork)'
|
2023-05-24 22:42:39 +02:00
|
|
|
tags.set(['asciidoctor'])
|
2021-12-19 00:47:12 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-08 00:38:42 +01:00
|
|
|
*/
|