mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Deploy kotlin-experiment-docs to GitHub pages site
This commit is contained in:
committed by
Gary Tierney
parent
3f65c0d119
commit
ff21bfc110
@@ -1,4 +1,6 @@
|
||||
plugins {
|
||||
id 'org.asciidoctor.gradle.asciidoctor' version '1.5.1' apply(false)
|
||||
id 'org.asciidoctor.convert' version '1.5.3' apply(false)
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.3.41' apply(false)
|
||||
id 'org.jetbrains.intellij' version '0.4.9' apply(false)
|
||||
id 'org.jmailen.kotlinter' version '1.26.0' apply(false)
|
||||
|
||||
+11
-19
@@ -1,26 +1,18 @@
|
||||
group 'apollo'
|
||||
version '0.0.1'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
|
||||
}
|
||||
plugins {
|
||||
id 'org.ajoberstar.github-pages'
|
||||
id 'org.asciidoctor.gradle.asciidoctor'
|
||||
id 'org.asciidoctor.convert'
|
||||
}
|
||||
|
||||
apply plugin: 'org.asciidoctor.convert'
|
||||
apply plugin: 'java'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
asciidoctor {
|
||||
sourceDir = file('src/asciidoc')
|
||||
outputDir = file('build/docs')
|
||||
githubPages {
|
||||
repoUri = 'git@github.com:apollo-rsps/apollo-rsps.github.io'
|
||||
targetBranch = 'master'
|
||||
|
||||
pages {
|
||||
from "$buildDir/asciidoc/html5"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user