Hi Manuel, welcome to the list. Please find answers inlined. Sent from my primitive tricorder
> On 14 Jun 2022, at 20:10, Manuel Dahmen <dathew...@gmail.com> wrote: > > hello, > switch from maven to gradle, publish on maven central, is it possible from > maven? Yes, it’s possible to switch a project built with Maven to be built with Gradle instead. Both build tools offer similar capabilities yet in different fashions. To be fair there’s no 100% automatic, fool-proof way to translate a Maven project into a Gradle one due to differences in their models and how plugins work. You can try invoking “gradle init” at the root of your project then manually edit the generated Gradle files til you get wat you need. For this to work you need to know Gradle well. Gradle can publish artifacts to Maven Central, there are 3rd party plugins that take care of that, of which the most popular appears to be https://plugins.gradle.org/plugin/io.github.gradle-nexus.publish-plugin > when will maven be replaced by gradle? That’s a very broad question but the answer is likely never. If the intention of the question is to find out if Maven will be replaced as the dominant build tool then the answer is no, not going to happen any time soon. An organization/company may deem necessary to make the switch which takes lots of effort, there’s no “try me” option, you must complete the switch to the best of your abilities in order to measure if making the switch was worth it. Chicken-egg problem. > I m trying to implement a Java desktop /android app. with a common library. > The basic idea is to name a class or interface wrapper with custom > implementations. which are not treated by jdk or Android sdk, I think. > But ui are custom too, like ImageIO or Bitmap, awt Color and android Color. If you’re building a multi-project build with at least one Android component then that means you must use Gradle. Why bring Maven into the mix? > I think it s complicated, where could I find resources on this theme? Most likely at the Gradle doc site. Also, join their Slack and/or forum to ask questions. > -- sorry for my poor English You’re doing great!