mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Add basic test
This commit is contained in:
parent
c42140a45a
commit
2008b41b09
3 changed files with 114 additions and 3 deletions
|
|
@ -28,7 +28,9 @@ dependencies {
|
|||
compileOnly("org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT")
|
||||
|
||||
// Gui library
|
||||
implementation("com.github.stefvanschie.inventoryframework:IF:0.10.17")
|
||||
val stefvanschie_IF = "com.github.stefvanschie.inventoryframework:IF:0.10.17"
|
||||
implementation(stefvanschie_IF)
|
||||
testRuntimeOnly(stefvanschie_IF)
|
||||
|
||||
// EnchantsSquaredRewritten
|
||||
compileOnly(files("libs/EnchantsSquared.jar"))
|
||||
|
|
@ -61,6 +63,10 @@ dependencies {
|
|||
|
||||
// include kotlin for the offline jar
|
||||
implementation(kotlin("stdlib"))
|
||||
|
||||
// Test dependency
|
||||
testImplementation("com.github.seeseemelk:MockBukkit-v1.21:3.133.2")
|
||||
testRuntimeOnly("commons-lang:commons-lang:2.6")
|
||||
}
|
||||
|
||||
allprojects {
|
||||
|
|
@ -80,7 +86,7 @@ allprojects {
|
|||
dependencies {
|
||||
compileOnly(kotlin("stdlib"))
|
||||
|
||||
// Currently not used. but it would be useful to test.
|
||||
// Test dependency
|
||||
testImplementation(platform("org.junit:junit-bom:5.9.1"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
}
|
||||
|
|
@ -92,7 +98,7 @@ allprojects {
|
|||
// Configure used version of kotlin and java
|
||||
java {
|
||||
disableAutoTargetJvm()
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(20))
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
|
||||
// Set target version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue