-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (36 loc) · 1.35 KB
/
build.gradle.kts
File metadata and controls
41 lines (36 loc) · 1.35 KB
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
val junit4Version: String by rootProject
val sootVersion: String by rootProject
val apacheCommonsLangVersion: String by rootProject
val rdVersion: String by rootProject
val kotlinLoggingVersion: String? by rootProject
plugins {
id("com.github.johnrengelman.shadow") version "7.1.2"
}
dependencies {
api(project(":utbot-core"))
api(project(":utbot-api"))
api(project(":utbot-rd"))
implementation(group = "com.jetbrains.rd", name = "rd-framework", version = rdVersion)
implementation(group = "com.jetbrains.rd", name = "rd-core", version = rdVersion)
implementation(group = "org.unittestbot.soot", name = "soot-utbot-fork", version = sootVersion) {
exclude(group="com.google.guava", module="guava")
}
implementation(group = "io.github.microutils", name = "kotlin-logging", version = kotlinLoggingVersion)
// TODO do we really need apache commons?
implementation(group = "org.apache.commons", name = "commons-lang3", version = apacheCommonsLangVersion)
testImplementation(group = "junit", name = "junit", version = junit4Version)
}
tasks {
withType<ShadowJar> {
archiveClassifier.set(" ")
minimize()
}
}
tasks {
compileKotlin {
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
}
}