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