25 Commits

Author SHA1 Message Date
4a6aa5dbf7
Set source code encoding in build.gradle 2022-01-14 13:28:02 +03:00
e6e55a6c40
Fixed 'HEAD' in detected Git branch on Jenkins 2022-01-10 23:59:09 +03:00
57a86b544e
Fixed dependency detection for external tools 2022-01-10 21:19:31 +03:00
b18eac44b8
Updated all dependencies
- Updated LWJGL to 3.3.0
  - Targets windows-arm64 and macos-arm64 are now available
- Updated Guava to 31.0.1
- Updated Log4j to 2.17.1
2022-01-10 19:54:14 +03:00
fe01e1b81c
Fixed first-time packaging issue in build script 2022-01-09 21:02:56 +03:00
162b2249b1
Rewrote build script, improved packaging
- Renamed :packageWindows to :packageNsis
- ImageMagick now required for :packageNsis
- Packaging output is now in build/packages
- Rewrote build script
  - Packaging logic and LWJGL dependencies now in separate files
  - Packaging logic now implemented with Gradle, not Bash scripts
    - Cross-platform?
- Added :packageZip
  - Universal ZIP with start scripts
- Changed version detection logic
  - Tags of ancestor commits are now considered
  - Only tags with format vMAJOR.MINOR.PATCH[-SUFFIX] are considered
  - If the tag's commit isn't HEAD, PATCH is incremented
  - When version detection fails, dummy version is 999.0.0-<buildID or date>
- LWJGL target platforms can be overridden with forceTargets project property
2022-01-07 22:23:24 +03:00
e4d0570200
Added automatic version detection to Gradle and game 2021-12-25 20:24:45 +03:00
f350467942
Removed jCenter(); formatted build.gradle
- Fixed #23
- Fixed whitespace in build.gradle
2021-12-21 00:13:04 +03:00
23b0af1731
Update log4j dependency to version 2.17.0 😡
Fix for CVE-2021-45105
2021-12-19 23:46:30 +03:00
0389f97e59
Update log4j dependency to version 2.16.0
Fix for CVE-2021-45046
2021-12-16 18:09:37 +03:00
75ea7baf9c
Update junit dependency to version 4.13.2
Fix for CVE-2020-15250
2021-12-12 15:41:10 +03:00
c4a9a17c7c Update log4j dependency to version 2.15.0 2021-12-10 11:05:30 +03:00
fc85eb5658
Removed accidentally committed local build.gradle 2021-01-25 10:46:02 +03:00
260562310a
Refactored CROs, removed internal chunk borders. Documented CROs.
- Refactored CROs
- Renamed CROOpaqueCube to CROSurface (including relevant interfaces)
- Optimized CROS
  - CROS now takes neighbor chunks into account
- Refactored default OptimizedSurface implementations
- Documented some CRO code
2021-01-24 20:48:38 +03:00
a4dd14491d Fixed build scripts
- Eclipse is now able to detect native dependencies correctly
- `buildPackages.sh debian' exits with correct exit code
- Renamed `require*Dependencies' to `request*Dependencies'
2021-01-09 14:14:36 +03:00
7a2721c7b3 Fixed missing manifest file in built JARs 2021-01-08 00:44:49 +03:00
e389d2ad67 Refactored build scripts and removed unused dependencies
- Added the following Gradle tasks:
  - buildLocal (alias for build)
  - buildCrossPlatform (builds with all natives)
  - packageDebian
  - packageWindows
- Gradle no longer downloads or packages natives for wrong platforms
(unless buildCrossPlatform or require*Dependencies is run)
- Gradle should no longer complain about deprecated features
- buildPackages.sh is now a lot more robust
- Removed the following dependencies:
  - Apache Commons Math
  - Everything in LWJGL except OpenGL/AL, GLFW, STB and core
2021-01-08 00:33:53 +03:00
00773d4f8b
Fixed compilation on JDK 8 2021-01-01 20:25:47 +03:00
saval559362
2ccba64687 Fixed a bug with the build 2020-12-30 12:46:56 +03:00
saval559362
2960ea0b23 Added binary dependencies to installers 2020-12-30 00:05:33 +03:00
saval559362
6bae69ff04 Added build scripts 2020-12-29 22:22:46 +03:00
38a8a885c8 Updated build.gradle to make build artifacts easily runnable 2020-11-14 21:58:48 +03:00
1c5c91a712 Updated Guava to 30.0 to resolve SNYK-JAVA-COMGOOGLEGUAVA-1015415
Relevant info: https://github.com/google/guava/issues/4011. We never
used it but better prevent this in the future.
2020-11-05 12:33:13 +03:00
dc74a419c9 Added logger 2020-09-03 23:40:28 +03:00
e96a30c275 Initial commit 2020-07-29 12:30:34 +03:00