You've already forked AstralRinth
forked from didirus/AstralRinth
Migrate Java code to Gradle (#3833)
* Create get_resource_file macro to get an embedded resource If the tauri feature is enabled, the resource will be loaded from Tauri resources. If the tauri feature is disabled, the resource will be extracted to a temp directory. * Wrap process execution to inject system properties through stdin * Pass the time values as ISO 8601 datetimes * Remove entirely internal modrinth.process.uuid * Redo Java version checking somewhat and fix a few bugs with it * Fix game launch with early access versions of Java * Format Java code * Use Gradle to build Java code * Make Gradle build reproducible * Fix constant rebuilds * Get rid of unnecessary rebuilds * Fix modrinth.profile.modified being the same as modrinth.profile.created * Make javac use all lints and treat them as errors * Force Gradle color output * Add Java formatting config * Make gradlew executable * Revert to manually extracting class files * Switch to using update resource macro * fix: make `app-lib` build again --------- Co-authored-by: Alejandro González <me@alegon.dev>
This commit is contained in:
12
packages/app-lib/java/.gitattributes
vendored
Normal file
12
packages/app-lib/java/.gitattributes
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# https://help.github.com/articles/dealing-with-line-endings/
|
||||
#
|
||||
# Linux start script should use lf
|
||||
/gradlew text eol=lf
|
||||
|
||||
# These are Windows script files and should use crlf
|
||||
*.bat text eol=crlf
|
||||
|
||||
# Binary files should be left untouched
|
||||
*.jar binary
|
||||
|
||||
Reference in New Issue
Block a user