-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (62 loc) · 1.74 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
68
69
70
71
buildscript {
ext.kotlin_version = '1.4.0'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "com.github.johnrengelman.shadow" version "6.0.0"
}
plugins {
id "com.github.ben-manes.versions" version "0.29.0"
// Usage: gradle dependencyUpdates -Drevision=release
}
// apply plugin: 'java'
// apply plugin: 'maven'
apply plugin: 'kotlin'
apply plugin: 'application'
group = 'ch.bubendorf'
version = '1.4.4'
mainClassName = 'ch.bubendorf.gsak2gpx.Gsak2GpxKt'
description = "gsak2gpx"
jar {
manifest {
attributes 'Implementation-Title': description,
'Implementation-Version': version
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
// maven { url "http://repo.maven.apache.org/maven2" }
}
kotlin {
sourceSets {
main {
kotlin {
srcDir 'src/main/kotlin'
srcDir '../SmartNames/src/main/kotlin'
}
}
}
}
dependencies {
compile "org.xerial:sqlite-jdbc:3.32.3.2"
compile "com.beust:jcommander:1.78"
compile "org.slf4j:slf4j-api:1.8.0-beta4"
compile "org.slf4j:slf4j-simple:1.8.0-beta4"
compile "org.freemarker:freemarker:2.3.30"
compile "commons-io:commons-io:2.7"
compile "commons-lang:commons-lang:2.6"
compile "org.apache.commons:commons-lang3:3.11"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile "junit:junit:4.13"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
}