-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
53 lines (46 loc) · 929 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
43
44
45
46
47
48
49
50
51
52
53
buildscript {
ext {
kotlinVersion = '1.1.0'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: "kotlin"
compileKotlin {
}
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
compile 'org.jfree:jfreechart:1.0.17'
compile 'args4j:args4j:2.0.26'
testCompile 'junit:junit:4.11'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
}
sourceSets {
main {
kotlin {
srcDir 'kotlin'
}
}
test {
kotlin {
srcDir 'test/kotlin'
}
resources {
srcDir 'test/resources'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = "2.9"
}
task copyToLib(type: Copy) {
into "lib"
from configurations.runtime
}