-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (53 loc) · 1.75 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
buildscript {
ext.kotlin_version = '1.3.0-rc-190'
repositories {
maven { url 'http://dl.bintray.com/kotlin/kotlin-eap' }
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
group 'com.github.mvonrenteln.dsa'
version '2.0-SNAPSHOT'
apply plugin: 'kotlin'
repositories {
maven { url 'http://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'http://jcenter.bintray.com/' }
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.0-RC1"
compile 'org.slf4j:slf4j-api:1.7.25'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
compile 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.7'
compile 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.7'
compile 'com.vladsch.flexmark:flexmark:0.34.52'
compile 'com.vladsch.flexmark:flexmark-ext-tables:0.34.52'
compile 'org.apache.velocity:velocity-engine-core:2.0'
testImplementation(
'org.junit.jupiter:junit-jupiter-api:5.3.1'
)
testRuntimeOnly(
'org.junit.jupiter:junit-jupiter-engine:5.3.1'
)
}
jar {
manifest {
attributes 'Implementation-Version': version,
'Main-Class': 'com.github.mvonrenteln.dsa.converter.DsaConverterMainKt'
}
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
test {
useJUnitPlatform()
}