Moving from javax.annotation to org.jetbrains.annotations is because neither IntelliJ nor Gradle could find the javax ones (either it just never worked making me wonder why it worked for you or one of your deps depended on it and dropped it), and in the Fabric ecosystem using the JetBrains annotations is the standard, going as far as Loom remapping Minecraft to do so.
.gitattributes is to make sure autocrlf doesn't mess up anything in the Gradle wrapper scripts on on Windows.
I've tested this locally using the test mod and confirmed it to work.
Moving from
javax.annotation
toorg.jetbrains.annotations
is because neither IntelliJ nor Gradle could find the javax ones (either it just never worked making me wonder why it worked for you or one of your deps depended on it and dropped it), and in the Fabric ecosystem using the JetBrains annotations is the standard, going as far as Loom remapping Minecraft to do so..gitattributes
is to make sure autocrlf doesn't mess up anything in the Gradle wrapper scripts on on Windows. I've tested this locally using the test mod and confirmed it to work.