ultraq / redhorizon

Recreating the original 2D Command & Conquer games
Apache License 2.0
6 stars 4 forks source link

Upgrade to Groovy 3 #22

Closed ultraq closed 4 years ago

ultraq commented 4 years ago

Groovy 3 is almost out! Would be good to upgrade to it with the release version in future or a release candidate now.

ultraq commented 4 years ago

Out now!

ultraq commented 4 years ago

Have tried it out, finding that while the programs still run, the tests don't any more. Spock for Groovy 3 is still in pre-release form and for a new major version (2.0), so might have to check again once it reaches 2.0 for realsies.

ultraq commented 4 years ago

D'oh, didn't notice that Spock 2 uses the JUnit test platform, so forgot to add:

test {
  useJUnitPlatform()
}

🤦