jbake update

This commit is contained in:
Jörg Prante 2016-11-08 22:57:19 +01:00
parent 59c4d79955
commit 1cdcd03c94
6 changed files with 40 additions and 13 deletions

View file

@ -1,13 +1,9 @@
plugins { plugins {
id "org.sonarqube" version "2.1-rc1" id "org.sonarqube" version "2.2"
id "org.ajoberstar.github-pages" version "1.5.1" id "org.ajoberstar.github-pages" version "1.6.0-rc.1"
id "org.xbib.gradle.plugin.jbake" version "1.1.0" id "org.xbib.gradle.plugin.jbake" version "1.2.1"
} }
println "Host: " + java.net.InetAddress.getLocalHost()
println "Gradle: " + gradle.gradleVersion + " JVM: " + org.gradle.internal.jvm.Jvm.current() + " Groovy: " + GroovySystem.getVersion()
println "Build: group: '${project.group}', name: '${project.name}', version: '${project.version}'"
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'signing' apply plugin: 'signing'
@ -35,7 +31,7 @@ targetCompatibility = JavaVersion.VERSION_1_8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:all" options.compilerArgs << "-Xlint:all" << "-profile" << "compact2"
} }
test { test {
classpath += configurations.provided classpath += configurations.provided

View file

@ -2,10 +2,23 @@
Jörg Prante Jörg Prante
2016-09-15 2016-09-15
:jbake-type: page :jbake-type: page
:jbake-tags: documentation
:jbake-status: published :jbake-status: published
:jbake-tags: documentation
:idprefix: :idprefix:
:toc: :toc:
:toc-placement!: :toc-placement!:
toc::[] toc::[]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vel diam purus. Curabitur ut nisi lacus.
* http://example.org
* http://example.org[Example.org]
Nam id nisl quam. Donec a lorem sit amet libero pretium vulputate vel ut purus. Suspendisse leo arcu,
mattis et imperdiet luctus, pulvinar vitae mi. Quisque fermentum sollicitudin feugiat. Mauris nec leo
ligula. Vestibulum tristique odio ut risus ultricies a hendrerit quam iaculis. Duis tempor elit sit amet
ligula vehicula et iaculis sem placerat. Fusce dictum, metus at volutpat lacinia, elit massa auctor risus,
id auctor arcu enim eu augue. Donec ultrices turpis in mi imperdiet ac venenatis sapien sodales. In
consequat imperdiet nunc quis bibendum. Nulla semper, erat quis ornare tristique, lectus massa posuere
libero, ut vehicula lectus nunc ut lorem. Aliquam erat volutpat.

View file

@ -0,0 +1,9 @@
= Test
Jörg Prante
2016-11-08
:jbake-type: post
:jbake-status: published
:jbake-tags: documentation
:idprefix:
This is a test

View file

@ -11,12 +11,16 @@ meta.description=Generated by JBake
template.folder=templates template.folder=templates
content.folder=content content.folder=content
asset.folder=assets asset.folder=assets
render.index=true
index.file=index.html index.file=index.html
index.posts.limit=100 #index.posts.limit=100
index.posts.title.limit=200 #index.posts.title.limit=200
render.masterindex=true
render.index=true
render.archive=true
render.feed=true
render.tags=true render.tags=true
render.sitemap=true render.sitemap=true
template.masterindex.file=index.gsp
template.index.file=index.gsp template.index.file=index.gsp
template.archive.file=archive.gsp template.archive.file=archive.gsp
template.tag.file=tags.gsp template.tag.file=tags.gsp

View file

@ -14,6 +14,6 @@
<hr /> <hr />
<p>Older posts are available in the <a href="/${config.archive_file}">archive</a>.</p> <p>Older posts are available in the <a href="${config.archive_file}">archive</a>.</p>
<%include "footer.gsp"%> <%include "footer.gsp"%>

View file

@ -0,0 +1,5 @@
html {
body {
p "Hello World"
}
}