-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (44 loc) · 1.04 KB
/
build.gradle
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
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.0.21'
id 'maven-publish'
}
group = 'org.akrck02'
version = '1.0.0-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation 'org.jetbrains.kotlin:kotlin-test'
// internal
implementation 'org.akrck02:valhalla.core.sdk:1.0.1-SNAPSHOT'
// Kotlin coroutine dependency
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
// MongoDB Kotlin driver dependency
implementation("org.mongodb:mongodb-driver-kotlin-coroutine:4.10.1")
// Logging
implementation 'org.slf4j:slf4j-api:2.0.0'
implementation 'org.slf4j:slf4j-simple:2.0.0'
// Env file processing
implementation 'io.github.cdimascio:dotenv-kotlin:6.4.2'
}
test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}