diff --git a/build.gradle b/build.gradle index 8e4a723..f2bb150 100644 --- a/build.gradle +++ b/build.gradle @@ -35,12 +35,14 @@ repositories { } dependencies { + compileOnly 'com.destroystokyo.paper:paper-api:1.16.2-R0.1-SNAPSHOT' + compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.2' + implementation 'io.papermc:paperlib:1.0.5' spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1' - compileOnly group: 'com.destroystokyo.paper', name: 'paper-api', version: '1.16.2-R0.1-SNAPSHOT' - implementation group: 'io.papermc', name: 'paperlib', version: '1.0.5' - testImplementation group: 'com.github.spotbugs', name: 'spotbugs-annotations', version:'3.1.2' - testImplementation group: 'junit', name: 'junit', version: '4.12' - testImplementation group: 'com.destroystokyo.paper', name: 'paper-api', version: '1.16.2-R0.1-SNAPSHOT' + testCompileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.2' + testImplementation 'com.destroystokyo.paper:paper-api:1.16.2-R0.1-SNAPSHOT' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0' } processResources { diff --git a/src/test/java/com/snowypeaksystems/exampleplugin/ExamplePluginTest.java b/src/test/java/com/snowypeaksystems/exampleplugin/ExamplePluginTest.java index c194277..fedc446 100644 --- a/src/test/java/com/snowypeaksystems/exampleplugin/ExamplePluginTest.java +++ b/src/test/java/com/snowypeaksystems/exampleplugin/ExamplePluginTest.java @@ -1,6 +1,6 @@ package com.snowypeaksystems.exampleplugin; -import org.junit.Test; +import org.junit.jupiter.api.Test; /** * Tests for ExamplePlugin.