-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
59 lines (43 loc) · 1.24 KB
/
build.gradle.kts
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
val kotlinVersion = "1.3.11"
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.11")
}
}
plugins {
kotlin("jvm") version "1.3.11"
application
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
implementation("com.typesafe.akka:akka-http_2.12:10.1.6")
implementation("com.typesafe.akka:akka-stream_2.12:2.5.9")
implementation("com.typesafe.akka:akka-http-jackson_2.12:10.1.6")
implementation("com.google.inject:guice:4.1.0")
implementation("org.reflections:reflections:0.9.11")
//testCompile 'com.typesafe.akka:akka-testkit_2.12:2.5.19'
//testCompile 'junit:junit:4.12'
}
application {
applicationName = "Revolut"
group = "com.revolut"
mainClassName = "com.revolut.MainApplication"
}
repositories {
mavenCentral()
}
tasks {
withType<Jar> {
manifest {
attributes(mapOf("Main-Class" to application.mainClassName))
}
val version = "1.0.0"
archiveName = "${application.applicationName}-$version.jar"
doFirst {
configurations.compile.map { if (it.isDirectory) it else zipTree(it) }
}
}
}