Use a separate bukkit dependency for tests.
This commit is contained in:
parent
39287f55ef
commit
e536dff1a8
|
@ -43,7 +43,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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'
|
exclude group: 'junit', module: 'junit'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,6 +66,9 @@ dependencies {
|
||||||
api 'de.themoep.idconverter:mappings:1.2-SNAPSHOT'
|
api 'de.themoep.idconverter:mappings:1.2-SNAPSHOT'
|
||||||
api 'org.jetbrains:annotations:16.0.2'
|
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 'junit:junit:4.12'
|
||||||
testImplementation 'org.mockito:mockito-core:3.11.2'
|
testImplementation 'org.mockito:mockito-core:3.11.2'
|
||||||
testImplementation 'commons-io:commons-io:2.4'
|
testImplementation 'commons-io:commons-io:2.4'
|
||||||
|
|
Loading…
Reference in New Issue