Deploy kotlin-experiment-docs to GitHub pages site

This commit is contained in:
Gary Tierney
2018-09-04 18:30:18 +01:00
committed by Gary Tierney
parent 3f65c0d119
commit ff21bfc110
6 changed files with 13 additions and 19 deletions
+2
View File
@@ -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
View File
@@ -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"
}
}