Improve a few dependency scopes

This commit is contained in:
NotMyFault
2021-09-22 23:00:12 +02:00
parent 40b024fbba
commit a5795461f2
3 changed files with 24 additions and 16 deletions

View File

@ -37,8 +37,8 @@ dependencies {
// Plugins
compileOnly(libs.redprotect)
api(libs.plotsquaredV4) { isTransitive = false }
api(libs.plotsquaredV6Core) { isTransitive = false }
compileOnly(libs.plotsquaredV4) { isTransitive = false }
compileOnly(libs.plotsquaredV6Core) { isTransitive = false }
// ensure this is on the classpath for the AP
annotationProcessor(libs.guava)
@ -46,7 +46,7 @@ dependencies {
annotationProcessor(libs.autoValue)
// Third party
implementation(libs.truezip)
compileOnly(libs.truezip)
implementation(libs.findbugs)
implementation(libs.rhino)
compileOnly(libs.adventure)

View File

@ -107,7 +107,7 @@ public enum BuiltInClipboardFormat implements ClipboardFormat {
@Override
public ClipboardWriter getWriter(OutputStream outputStream) throws IOException {
//FAWE start - be a more helpful exception
throw new IOException("The formats `.schematic`, `.mcedit` and `.mce` are discontinued on versions newer than" +
throw new IOException("The formats `.schematic`, `.mcedit` and `.mce` are discontinued on versions newer than " +
"1.12 and superseded by the sponge schematic implementation known for `.schem` files.");
//FAWE end
}