-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
60 lines (51 loc) · 1.64 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
60
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.motif"
version = "1.2.0"
val artifactID = "factorbook-meme"
repositories {
mavenCentral()
}
val biojavaVersion = "5.2.1"
dependencies {
implementation(kotlin("stdlib-jdk8"))
compile("com.github.ajalt", "clikt", "2.2.0")
compile("io.github.microutils","kotlin-logging","1.6.10")
compile("ch.qos.logback", "logback-classic","1.2.3")
compile("org.biojava", "biojava-core", biojavaVersion) {
exclude("org.apache.logging.log4j")
}
compile("org.biojava", "biojava-genome", biojavaVersion) {
exclude("org.apache.logging.log4j")
}
compile("org.apache.commons", "commons-math3", "3.6.1")
compile("org.eclipse.collections", "eclipse-collections-api", "10.0.0")
compile("org.eclipse.collections", "eclipse-collections", "10.0.0")
implementation("com.squareup.moshi", "moshi-kotlin", "1.8.0")
testImplementation("org.junit.jupiter", "junit-jupiter", "5.4.0")
testCompile("org.assertj", "assertj-core", "3.11.1")
testCompile("org.knowm.xchart", "xchart", "3.6.0")
}
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")
}