Update Gradle Wrapper to version 5.2

Add Asciidoctor to build.
This commit is contained in:
Thomas Peetz
2019-04-05 09:27:04 +02:00
parent d207184c2e
commit 00f6417c5e
5 changed files with 52 additions and 8 deletions
+49 -5
View File
@@ -1,14 +1,58 @@
buildscript {
repositories {
jcenter()
maven{
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
//classpath 'org.asciidoctor:asciidoctorj-epub3:1.5.0-alpha.6'
classpath ('org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16') {
exclude group: 'org.jruby'
}
classpath 'org.jruby:jruby:9.1.17.0'
}
}
apply plugin: 'org.asciidoctor.convert'
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'project-report' apply plugin: 'project-report'
group = 'com.ibtp'
version = '0.0.1-SNAPSHOT'
repositories { repositories {
mavenCentral() mavenCentral()
} }
task wrapper(type: Wrapper) { asciidoctorj {
gradleVersion = '5.2' version = '1.6.0-alpha.7'
}
group 'com.ibtp.versabundus'
description = 'Project Versabundus: Implementierung von Rolit in Java'
version = '0.0.1-SNAPSHOT'
final BUILD_DATE = new Date().format('dd.MM.yyyy').toString()
asciidoctor {
//backends 'html5', 'pdf', 'epub3', 'docbook'
backends 'html5', 'pdf'
attributes 'build-gradle': file('build.gradle'),
'source-highlighter': 'coderay',
'toc': 'left',
'toc-title': 'Inhaltsverzeichnis',
'revdate': BUILD_DATE,
'revnumber': version,
'idprefix': 'id_',
'chapter-label': '',
'icons': 'font',
'setanchors': '',
'idseparator': '-',
'endpoint-url': 'http://www.ingenieurbuero-peetz.de',
'imagesdir': './images',
'docinfo1': ''
}
wrapper {
gradleVersion = "5.2"
} }
Binary file not shown.
+1 -1
View File
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip
Vendored
+1 -1
View File
@@ -28,7 +28,7 @@ APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"` APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS="" DEFAULT_JVM_OPTS='"-Xmx64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum" MAX_FD="maximum"
Vendored
+1 -1
View File
@@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME% set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS= set DEFAULT_JVM_OPTS="-Xmx64m"
@rem Find java.exe @rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome if defined JAVA_HOME goto findJavaFromJavaHome