Commit Graph

37 Commits

Author SHA1 Message Date
J.T. McQuigg
3df66d612a Update Github Actions (#997) 2023-12-09 22:14:33 +00:00
modmuss
b987b4e711 Always use unix line endings on windows (#986)
* Always use unix line endings on windows

* Also run checks on windows.

* Fix binary files :)
2023-11-23 22:36:57 +00:00
modmuss
3a090917ff Update to Gradle 8.3, and update all other deps. (#946)
* Update to Gradle 8.3, and update all other deps.

* Fix tests

* Lazily download decompilers, generate version constants to ensure they are synced between the build and Gradle.

Each decompiler has a configuration, this allows the version to be changed at a later date if needed.

* Fix typo :)

* Oh so many versions
2023-08-24 10:18:25 +01:00
modmuss50
d1f35d4221 Fix publish 2023-05-05 13:30:54 +01:00
modmuss50
1015ef09ff Update to Gradle 8.1 (#864)
* Update to Gradle 8.1

* Fix build, run RunConfigTest against all gradle versions.

* Fix build
2023-04-17 13:49:49 +01:00
modmuss50
95a260d923 Test against Gradle 8.1 and 8.2 nightly. (#846) 2023-04-16 17:19:21 +01:00
modmuss50
bab447ffe1 Fix publish 2023-01-22 13:38:54 +00:00
modmuss50
b4155a9450 Small build updates.
Java toolchains aren't support on ARM64 windows. Waiting on https://github.com/gradle/gradle/issues/21703
2022-11-01 21:49:22 +00:00
modmuss50
c46abf8ac4 Update deps, test fixes, and fix github actions deprecation warnings. (#745) 2022-10-29 16:57:06 +01:00
Juuz
ffe5e955c5 Fix test artifact names (#716)
* Fix test artifact names

- Fixes empty parens in Linux artifacts
- Fixes invalid artifact names containing *
- Fixes Windows artifacts not being different from Linux ones

* Fix Windows tests
2022-09-11 20:26:00 +01:00
modmuss50
688385a1bb Update deps + fix some failing tests. 2022-07-25 18:37:16 +01:00
modmuss50
5e799e8072 Cancel in progress PR tests when PR is updated with more commits. 2022-05-10 18:26:09 +01:00
modmuss50
474d02f1b3 Update gradle and deps. 2022-02-28 18:41:03 +00:00
modmuss50
5a16440c1e Support ARM natives, rewrite native handling and misc cleanup. (#554)
* Rewrite natives handling, upgrade LWJGL on ARM machines.

* Remove old natives override hack, should now always be done via gradle.

* Use "idea" everywhere

* Add server specific libraries onto their own classpath. Includes misc code cleanup.

* Start on writing the excluded server libs.

* Gradle deprecation fixes, and misc cleanup

* Add support mod.

* Make native support mod none transitive.

* Update gradle.
2021-12-17 15:37:00 +00:00
modmuss50
337d17bb92 Java 17 and update libs. Closes #545 2021-12-04 19:00:47 +00:00
modmuss50
5315d3c5b2 Run tests against Java 17 (#515)
* Run tests against Java 17

* Fix tests on J17
2021-10-09 11:05:38 +01:00
Juuxel
b558ee1a46 Fix loom.accessWidener being a read-only property in Kotlin (#447)
* Re-enable Kotlin test because the related bug has been fixed

* Fix loom.accessWidener being a read-only property in Kotlin

* Remove Kotlin test exclusions
2021-07-26 12:14:31 +01:00
modmuss50
9278f6c4b9 Fix new gradle 8.0 deprecation added in 7.2 (#416)
* Fix new gradle 8.0 deprecation added in 7.2

* Handle bootstrap tests a bit better

* Fix 0.9 wrapper tests
2021-06-13 13:28:47 +01:00
modmuss50
449868451e Run tests on windows 2021-06-13 10:50:17 +01:00
modmuss50
8238db1778 Improve error messages when using outdated Java or Gradle. 2021-05-26 11:41:52 +01:00
modmuss50
fc3a5ef052 Java 16 2021-05-12 14:03:45 +01:00
modmuss50
f4f660dce5 Fix typo 2021-05-04 19:40:51 +01:00
modmuss50
891870584d Fix actions 2021-05-04 18:45:57 +01:00
modmuss50
cd17485280 Update to release 7.0 gradle 2021-05-04 18:37:23 +01:00
modmuss50
c8df12cf0f Update to Gradle 7 (#380)
* Gradle 7 part 1

* Fix actions?

* Update actions

* Fix tests not running

* Fix some broken tests

* Update kotlin to try and fix JDK 16 support

* Disable KotlinTest on j16

* exclude kotlin test from actions...
2021-04-04 23:02:00 +01:00
modmuss50
153afc1418 Reorganise tests (#378) 2021-04-02 12:20:03 +01:00
modmuss50
e6ac2afc7b Ensure outputs are reproducable across all OS's. (#363) 2021-03-15 23:31:18 +00:00
modmuss50
87f3743b24 Rewrite tests to be easier to write and maintain (#361) 2021-03-06 11:40:07 +00:00
modmuss50
46957df360 Run tests against gradle 7 and fail on deprecation. Fix gradle 8 support again. 2021-02-14 13:56:22 +00:00
modmuss50
b4a8c306e9 Fix build.
Thanks gradle for changing versioning style..
2021-01-16 13:52:25 +00:00
modmuss50
20dd62d5b4 Update a number of dependencies 2021-01-16 13:50:45 +00:00
modmuss50
98725f9400 Publish using github actions 2020-11-15 17:32:57 +00:00
modmuss50
9029a699d9 Official Mojang Mappings support
# Please read and understand the EULA before using!

Use in your build.gradle with the following:

`mappings minecraft.officialMojangMappings()`

To automatically migrate to Mojang mappings run the following:

`gradlew.bat migrateMappings --mappings "net.mojang.minecraft:mappings:1.16.2"`

Co-authored-by: Ramid Khan <ramidzkh@gmail.com>
2020-08-24 22:12:26 +01:00
modmuss50
9d142efb01 Use docker containers in github actions, should be more reliable 2020-07-27 00:09:42 +01:00
ㄗㄠˋ ㄑㄧˊ
c2c3e5c3c6 github actions: add wrapper validation (#235)
It validates the checksums of Gradle Wrapper JAR files present in the source tree and fails if unknown Gradle Wrapper JAR files are found. https://github.com/gradle/wrapper-validation-action
2020-07-16 18:16:39 +01:00
modmuss50
2cf7d92796 Test against 6.6-rc-1 2020-07-15 00:52:58 +01:00
modmuss50
b1ae5dee5d Test across java and gradle versions with github actions. (#218)
* Experiment with github actions

* Fix?

* another fix

* Fix?

* Change github actions run args

* Tried and tested is better right?

* spaces spaces spaces

* revert

* info

* Just 4.9

* Fixes to support building on newer gradle versions

* Forward log output and run tests on runtime gradle version

* Remove travis

* De-duplicate

* Remove daily action, doesnt seem to work so well.
2020-06-08 15:19:11 +01:00