anatawa12 / ForgeGradle-example

example project of fork of ForgeGradle 1.2 made by anatawa12
Other
50 stars 11 forks source link

Not compatible to Gradle 7.x #9

Closed Hye0Ngit closed 1 year ago

Hye0Ngit commented 2 years ago

Gradle 7.x changed maven to maven-publish, so this project won't work.

anatawa12 commented 2 years ago

Can you show me your error message? building is tested with 7.0, 7.3 (in ForgeGradle repository) and 7.4.2 (I've pushed gradle-7 branch, which only updated gradle.)

If you're talking about warning message in gradle 6, please try run with --warning-mode all. ForgeGradle will show you that with gradle 7, ForgeGradle will never apply maven plugin and the way to disable applying maven plugin on Gradle 6 or older.

That's my mistake that I've forgotten upgrading Gradle to 7.x. I'll upgrade Gradle of this repository soon.