修改 build 配置文件,去除 src 源代码目录

This commit is contained in:
YuCheng Hu 2019-07-22 23:38:54 -04:00
parent 233f5736a6
commit 6c18d1d854
1 changed files with 2 additions and 6 deletions

View File

@ -7,14 +7,10 @@ apply plugin: 'java'
version = '1.0.0' version = '1.0.0'
asciidoctor { asciidoctor {
def source = project.sourceSets.main.java.srcDirs[0]
def build = file('build.gradle') def build = file('build.gradle')
// add extra inputs since these include files that are included attributes 'build-gradle': build,
inputs.dir source
attributes 'build-gradle': file('build.gradle'),
'sourcedir': source,
'endpoint-url': 'https://docs.ossez.com', 'endpoint-url': 'https://docs.ossez.com',
'source-highlighter': 'coderay', 'source-highlighter': 'coderay',
'imagesdir': 'images', 'imagesdir': 'images',