How to Convert simple java project to gradle...?

Every one,please if you have any idea of conversion simple java project to gradle,

thank you,

Without more information on the existing setup of that Java project, hard to be specific.

So in general, I would recommend starting with the Java Quickstart documentation to learn about Gradle and Java projects in general.

And from there, add support to your project, investigating the documentation as needed.

Note that there is a basic Maven -> Gradle converter if your project currently uses Maven. See its documentation.

I please do have any example,