Use a separate bukkit dependency for tests.

This commit is contained in:
Jeremy Wood 2023-03-02 00:37:30 -05:00
parent 39287f55ef
commit e536dff1a8
No known key found for this signature in database
GPG Key ID: C5BAD04C77B91B4B

View File

@ -43,7 +43,7 @@ repositories {
}
dependencies {
implementation('org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT') {
compileOnly('org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT') {
exclude group: 'junit', module: 'junit'
}
@ -66,6 +66,9 @@ dependencies {
api 'de.themoep.idconverter:mappings:1.2-SNAPSHOT'
api 'org.jetbrains:annotations:16.0.2'
testImplementation('org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT') {
exclude group: 'junit', module: 'junit'
}
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:3.11.2'
testImplementation 'commons-io:commons-io:2.4'