-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
59 lines (53 loc) · 1.9 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
// Plugins
plugins {
id("java-library")
id("org.jetbrains.kotlin.jvm") version "2.1.10"
id("me.philippheuer.configuration") version "0.14.0"
}
// setup
projectConfiguration {
language.set(me.philippheuer.projectcfg.domain.ProjectLanguage.KOTLIN)
javaVersion.set(JavaVersion.VERSION_17)
artifactGroupId.set("io.github.cidverse")
artifactDescription.set("java sdk to create cid actions and workflows")
pom = { pom ->
pom.url.set("https://github.com/cidverse/cid-sdk-java")
pom.issueManagement {
system.set("GitHub")
url.set("https://github.com/cidverse/cid-sdk-java/issues")
}
pom.inceptionYear.set("2022")
pom.developers {
developer {
id.set("PhilippHeuer")
name.set("Philipp Heuer")
email.set("[email protected]")
roles.addAll("maintainer")
}
}
pom.licenses {
license {
name.set("MIT Licence")
distribution.set("repo")
url.set("https://github.com/cidverse/cid-sdk-java/blob/main/LICENSE")
}
}
pom.scm {
connection.set("scm:git:https://github.com/cidverse/cid-sdk-java.git")
developerConnection.set("scm:git:git@https://github.com/cidverse/cid-sdk-java.git")
url.set("https://github.com/cidverse/cid-sdk-java")
}
}
}
dependencies {
// bom
api(platform("com.fasterxml.jackson:jackson-bom:2.18.3"))
// http client
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.kohlschutter.junixsocket:junixsocket-core:2.10.1")
// json
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
// testing
testImplementation("org.mockito.kotlin:mockito-kotlin:5.4.0")
}