-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (46 loc) · 1.4 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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'org.jetbrains.kotlin.jvm' version '1.7.22'
id 'application'
}
group = 'fi.hsl.transitlog'
version = '1.0.3'
repositories {
mavenCentral()
maven {
url "https://maven.pkg.github.com/HSLdevcom/*"
credentials {
username = project.findProperty("github.user") ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("github.token") ?: System.getenv("GITHUB_TOKEN")
}
}
}
shadowJar {
archiveFileName ="${baseName}.${extension}"
}
dependencies {
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation "org.testcontainers:testcontainers:1.17.6"
testImplementation "org.testcontainers:junit-jupiter:1.17.6"
testImplementation "org.mockito.kotlin:mockito-kotlin:4.1.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "io.github.microutils:kotlin-logging:1.6.22"
implementation ('fi.hsl:transitdata-common:1.5.4.1') {
exclude group: 'javax.xml.bind', module: 'activation'
}
//Needed for Pulsar
implementation 'jaxb:activation:1.0.2'
implementation 'org.postgresql:postgresql:42.3.4'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}
application {
mainClassName = 'fi.hsl.transitlog.MainKt'
}