Skip to content

Commit

Permalink
GH-23 Update version handling and testing dependencies (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
vLuckyyy authored Nov 26, 2023
1 parent e780b65 commit 9067713
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ checkstyle {

dependencies {
// okaeri configs
implementation("eu.okaeri:okaeri-configs-yaml-snakeyaml:5.0.0-beta.5")
implementation("eu.okaeri:okaeri-configs-serdes-commons:5.0.0-beta.5")
val okaeriConfigsVersion = "5.0.0-beta.5"
implementation("eu.okaeri:okaeri-configs-yaml-snakeyaml:${okaeriConfigsVersion}")
implementation("eu.okaeri:okaeri-configs-serdes-commons:${okaeriConfigsVersion}")

// a cool library, kyori
implementation("net.kyori:adventure-platform-bukkit:4.3.1")
Expand Down Expand Up @@ -72,8 +73,8 @@ dependencies {

// tests setup
testImplementation("org.codehaus.groovy:groovy-all:3.0.19")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core:5.6.0")
}

Expand Down Expand Up @@ -107,12 +108,17 @@ tasks.compileJava {
options.encoding = "UTF-8"
}

tasks.getByName<Test>("test") {
tasks.test {
useJUnitPlatform()
}

tasks.runServer {
minecraftVersion("1.20.1")

downloadPlugins {
hangar("ProtocolLib", "5.1.0")
hangar("PlaceholderAPI", "2.11.5")
}
}

tasks.shadowJar {
Expand Down

0 comments on commit 9067713

Please sign in to comment.