Use bom for dependencies.
This commit is contained in:
parent
a9f4740f0c
commit
cba501824f
1 changed files with 12 additions and 12 deletions
|
@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|||
|
||||
buildscript {
|
||||
extra.apply {
|
||||
set("kotestVersion", "4.2.0")
|
||||
set("pheeraiBomVersion", "0.0.1-SNAPSHOT")
|
||||
set("kotlinApiVersion", "1.4")
|
||||
set("javaVersion", JavaVersion.VERSION_11)
|
||||
}
|
||||
|
@ -21,6 +21,14 @@ plugins {
|
|||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
google()
|
||||
mavenLocal {
|
||||
mavenContent {
|
||||
includeGroup("de.pheerai")
|
||||
includeGroup("de.pheerai.eap")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
project.version = "0.0.2"
|
||||
|
@ -32,16 +40,9 @@ java {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(
|
||||
group = "io.kotest",
|
||||
name = "kotest-runner-junit5-jvm",
|
||||
version = getFromExtra("kotestVersion")
|
||||
)
|
||||
testImplementation(
|
||||
group = "io.kotest",
|
||||
name = "kotest-assertions-core-jvm",
|
||||
version = getFromExtra("kotestVersion")
|
||||
)
|
||||
implementation(enforcedPlatform("de.pheerai:kotlin-native-app-bom:${getFromExtra<String>("pheeraiBomVersion")}"))
|
||||
testImplementation("io.kotest", "kotest-runner-junit5-jvm")
|
||||
testImplementation("io.kotest", "kotest-assertions-core-jvm")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
@ -66,7 +67,6 @@ publishing {
|
|||
version = project.version as String
|
||||
|
||||
from(components["java"])
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue