修改 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'
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',