-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
executable file
·48 lines (40 loc) · 1.12 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.3.21"
id("com.github.johnrengelman.shadow") version "4.0.2"
id("application")
}
group = "com.genomealmanac.rnaseq"
version = "1.1.0"
val artifactID = "kallisto"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
compile("com.github.ajalt", "clikt", "1.6.0")
compile("io.github.microutils","kotlin-logging","1.6.10")
compile("ch.qos.logback", "logback-classic","1.2.3")
compile("com.google.guava", "guava","27.1-jre")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.4.0")
testCompile("org.assertj", "assertj-core", "3.11.1")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.withType<Test> {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
application {
mainClassName = "AppKt"
}
val shadowJar: ShadowJar by tasks
shadowJar.apply {
baseName = artifactID
classifier = ""
destinationDir = file("build")
}