aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorpacien2018-07-26 11:34:06 +0200
committerpacien2018-07-26 11:34:06 +0200
commit69bc6c2ae35883286d9c2b8cc77d5fa0a8c37351 (patch)
tree26d8635694b9d7f61b77772b29a9c980b632cc2c /build.gradle
parent4d80dd03b75421f2fb40cb89f9634be47b09a779 (diff)
downloadpandoc-filter-plantuml-69bc6c2ae35883286d9c2b8cc77d5fa0a8c37351.tar.gz
Kotlin rewrite, adding diagram options
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle27
1 files changed, 25 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index f6a0a4f..c7a64f4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,13 +1,13 @@
1group 'org.pacien.pandoc.filter.plantuml' 1group 'org.pacien.pandoc.filter.plantuml'
2version '1.0-SNAPSHOT' 2version '1.0-SNAPSHOT'
3 3
4apply plugin: 'java' 4apply plugin: 'kotlin'
5 5
6sourceCompatibility = 1.8 6sourceCompatibility = 1.8
7 7
8jar { 8jar {
9 manifest { 9 manifest {
10 attributes 'Main-Class': 'org.pacien.pandoc.filter.plantuml.Filter' 10 attributes 'Main-Class': 'org.pacien.pandoc.filter.plantuml.MainKt'
11 } 11 }
12 12
13 from { 13 from {
@@ -23,4 +23,27 @@ dependencies {
23 testCompile group: 'junit', name: 'junit', version: '4.12' 23 testCompile group: 'junit', name: 'junit', version: '4.12'
24 compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6' 24 compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'
25 compile group: 'net.sourceforge.plantuml', name: 'plantuml', version: '8059' 25 compile group: 'net.sourceforge.plantuml', name: 'plantuml', version: '8059'
26 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
27}
28
29buildscript {
30 ext.kotlin_version = '1.2.51'
31 repositories {
32 mavenCentral()
33 }
34 dependencies {
35 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
36 }
37}
38
39compileKotlin {
40 kotlinOptions {
41 jvmTarget = "1.8"
42 }
43}
44
45compileTestKotlin {
46 kotlinOptions {
47 jvmTarget = "1.8"
48 }
26} 49}