From 6c18d1d854681872d62e5ff977852b64c40ea35b Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 22 Jul 2019 23:38:54 -0400 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20build=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E5=8E=BB=E9=99=A4=20src=20=E6=BA=90?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 6031d0a..be60c3c 100644 --- a/build.gradle +++ b/build.gradle @@ -7,14 +7,10 @@ apply plugin: 'java' version = '1.0.0' asciidoctor { - def source = project.sourceSets.main.java.srcDirs[0] + def build = file('build.gradle') - // add extra inputs since these include files that are included - inputs.dir source - - attributes 'build-gradle': file('build.gradle'), - 'sourcedir': source, + attributes 'build-gradle': build, 'endpoint-url': 'https://docs.ossez.com', 'source-highlighter': 'coderay', 'imagesdir': 'images',