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