修改 build 配置文件,去除 src 源代码目录
This commit is contained in:
parent
233f5736a6
commit
6c18d1d854
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue