This reverts commit 9c66c86e37d103f314008c5a3d36137bc81b2a13.
[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
The decision to revert the change in issue #748 was made after realizing that enforcing the "java" plugin was preventing projects in every Gradle version from publishing their JARs.
This reverts commit 9c66c86e37d103f314008c5a3d36137bc81b2a13.
[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
The decision to revert the change in issue #748 was made after realizing that enforcing the "java" plugin was preventing projects in every Gradle version from publishing their JARs.