ghost-discord / ghost

🤖 A modular, multi-feature Discord bot
GNU General Public License v3.0
23 stars 31 forks source link

Dictionary #20

Closed LeMikaelF closed 5 years ago

LeMikaelF commented 5 years ago

Changelist

Type of change

Local configuration:

LeMikaelF commented 5 years ago

Hmm… no idea why the build fails. It works fine on my machine. I'll look into it.

LeMikaelF commented 5 years ago

Turns out, it was a bug in OpenJDK 11. The workaround is simply not to use the diamond operator in a parameterized type, but to specify the type parameter explicitly.

It's annoying, because the fix was backported to OpenJDK 11.0.4, but Travis CI uses 11.0.2. And it doesn't look like you can make Travis use a specific minor version of a JDK.

zzzowoey commented 5 years ago

The extra dependencies seem to break the build tools on Windows because the call to jdeps is too long (almost 34,000 characters). I'll have to figure out a workaround for this.

Other than that, though, this looks great and works great. I'll merge after I figure out the issue.

zzzowoey commented 5 years ago

I was hoping to future-proof the build tools by fixing this at the command-line level, but it appears there's not really a way to do that with the current state of jdeps and the limits of Windows' CLI. The build tools still work on Linux, so Travis won't have any problems, but evidently we'll need to be careful with adding dependencies if we want to keep them working on Windows.

Anyhow, replacing spring-boot-starter-data-rest with spring-data-rest-webmvc alone keeps it working for now. This'll be merged sometime tonight.

zzzowoey commented 5 years ago

Merged - #23