From 4eb58698605d0abcaef4a0f14b293d6288886124 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 20 May 2021 14:38:16 +0200 Subject: [PATCH] [build] Remove markdown-gradle-plugin --- build.gradle | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index e63e2009c..d80fbb28c 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,6 @@ buildscript { maven { url 'https://dl.bintray.com/content/aalmiray/kordamp' } } dependencies { - classpath 'org.kordamp:markdown-gradle-plugin:1.0.0' classpath 'org.kordamp.gradle:clirr-gradle-plugin:0.2.2' classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.3.1" } @@ -18,8 +17,6 @@ plugins { id 'com.dorongold.task-tree' version '1.5' } -apply plugin: 'org.kordamp.gradle.markdown' - allprojects { apply plugin: 'java-library' apply plugin: 'java-test-fixtures' @@ -34,7 +31,7 @@ allprojects { isSnapshot = version.endsWith('-SNAPSHOT') gitCommit = getGitCommit() javadocAllDir = new File(buildDir, 'javadoc') - documentationDir = new File(buildDir, 'documentation') + documentationDir = new File(projectDir, 'documentation') releasedocsDir = new File(buildDir, 'releasedocs') rootConfigDir = new File(rootDir, 'config') sonatypeCredentialsAvailable = project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword') @@ -366,13 +363,7 @@ task prepareReleasedocs(type: Copy) { filter(ReplaceTokens, tokens: [version: version, releasedate: builtDate, targetCompatibility: targetCompatibility.toString()]) } -markdownToHtml { - sourceDir = new File(projectDir, "/documentation") - outputDir documentationDir - configuration = [tables: true, fencedCodeBlocks: true] -} - -task distributionZip(type: Zip, dependsOn: [javadocAll, prepareReleasedocs, markdownToHtml]) { +task distributionZip(type: Zip, dependsOn: [javadocAll, prepareReleasedocs]) { classifier builtDate into ('javadoc') { from(javadocAllDir)