-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
54 lines (46 loc) · 1.22 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
buildscript {
repositories {
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
}
plugins {
signing
`maven-publish`
kotlin("jvm").version("1.9.25")
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
kotlin {
jvmToolchain(11)
}
repositories {
mavenLocal()
mavenCentral()
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") }
}
group = "com.sksamuel.cohort"
version = Ci.version
dependencies {
api(rootProject.libs.coroutines.core)
api(rootProject.libs.coroutines.jdk8)
implementation(rootProject.libs.slf4j.api)
implementation(rootProject.libs.sksamuel.tabby)
testApi(rootProject.libs.bundles.testing)
}
tasks.named<Test>("test") {
useJUnitPlatform()
testLogging {
showExceptions = true
showStandardStreams = true
exceptionFormat = TestExceptionFormat.FULL
}
}
}