文档的 build 文件

This commit is contained in:
YuCheng Hu 2019-08-05 16:14:53 -04:00
parent f1e652bcce
commit 4ebc3891d9
1 changed files with 30 additions and 0 deletions

30
build.gradle Normal file
View File

@ -0,0 +1,30 @@
plugins {
id "org.asciidoctor.convert" version "2.3.0"
}
apply plugin: 'java'
version = '1.0.0'
asciidoctor {
def build = file('build.gradle')
attributes 'build-gradle': build,
'endpoint-url': 'https://docs.ossez.com',
'source-highlighter': 'coderay',
'imagesdir': 'images',
'includedir': '_includes',
'toc': 'left',
'icons': 'font',
'setanchors': '',
'idprefix': '',
'idseparator': '-',
'docinfo1': ''
}
allprojects {
repositories {
maven { url "https://maven.ossez.com/repository/internal" }
}
}