-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (34 loc) · 955 Bytes
/
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
import java.util.stream.Collectors
group 'org.kanjivg'
version '0.1-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.0.2'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'org.kanjivg.tools.MainKt'
// Pass through all system properties set via command-line
applicationDefaultJvmArgs = System.getProperties().entrySet().stream().map({ entry ->
"-D${entry.key}=${entry.value}"
}).collect(Collectors.toList())
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}
repositories {
mavenCentral()
}
dependencies {
// Kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// Logging
compile 'org.codehaus.groovy:groovy-all:2.4.0'
compile 'ch.qos.logback:logback-classic:1.1.7'
// Config
compile 'com.typesafe:config:1.3.0'
}