mirror of
https://github.com/pcvolkmer/mv64e-onkostar-data.git
synced 2025-07-03 11:02:54 +00:00
Initial commit
This commit is contained in:
60
build.gradle.kts
Normal file
60
build.gradle.kts
Normal file
@ -0,0 +1,60 @@
|
||||
plugins {
|
||||
id("java")
|
||||
id("java-library")
|
||||
}
|
||||
|
||||
group = "dev.pcvolkmer.onco"
|
||||
version = "0.1.0-SNAPSHOT"
|
||||
|
||||
var versions = mapOf(
|
||||
"mtb-dto" to "0.1.0-SNAPSHOT",
|
||||
"junit" to "5.13.1",
|
||||
"assertj" to "3.27.3",
|
||||
"mockito" to "5.18.0"
|
||||
)
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(11)
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
all {
|
||||
resolutionStrategy {
|
||||
cacheChangingModulesFor(5, "minutes")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://git.dnpm.dev/api/packages/public-snapshots/maven")
|
||||
}
|
||||
maven {
|
||||
url = uri("https://git.dnpm.dev/api/packages/public/maven")
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api("dev.pcvolkmer.mv64e:mtb-dto:${versions["mtb-dto"]}") { isChanging = true }
|
||||
implementation("org.springframework:spring-jdbc") {
|
||||
version {
|
||||
strictly("[4.3.8.RELEASE, )")
|
||||
// Current Onkostar 2.14.0 dependendcy
|
||||
prefer("4.3.8.RELEASE")
|
||||
}
|
||||
}
|
||||
|
||||
testImplementation(platform("org.junit:junit-bom:${versions["junit"]}"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.assertj:assertj-core:${versions["assertj"]}")
|
||||
testImplementation("org.mockito:mockito-core:${versions["mockito"]}")
|
||||
testImplementation("org.mockito:mockito-junit-jupiter:${versions["mockito"]}")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
Reference in New Issue
Block a user