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 { 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.kotlin.jvm' version '1.3.41' apply(false)
id 'org.jetbrains.intellij' version '0.4.9' apply(false) id 'org.jetbrains.intellij' version '0.4.9' apply(false)
id 'org.jmailen.kotlinter' version '1.26.0' apply(false) id 'org.jmailen.kotlinter' version '1.26.0' apply(false)
+11 -19
View File
@@ -1,26 +1,18 @@
group 'apollo' plugins {
version '0.0.1' id 'org.ajoberstar.github-pages'
id 'org.asciidoctor.gradle.asciidoctor'
buildscript { id 'org.asciidoctor.convert'
repositories {
jcenter()
} }
dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
}
}
apply plugin: 'org.asciidoctor.convert'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories { repositories {
mavenCentral() mavenCentral()
} }
asciidoctor { githubPages {
sourceDir = file('src/asciidoc') repoUri = 'git@github.com:apollo-rsps/apollo-rsps.github.io'
outputDir = file('build/docs') targetBranch = 'master'
pages {
from "$buildDir/asciidoc/html5"
}
} }