Giter Club home page Giter Club logo

Comments (4)

Moyulingjiu avatar Moyulingjiu commented on August 16, 2024

I made sure my config file src/main/resources/generatorConfig.xml is correct. I have used in maven. It works.

from generator.

hazendaz avatar hazendaz commented on August 16, 2024

Not sure how far you will get here with help considering we are entirely maven. I would suggest going to out to gradle and looking through their documentation, maybe look at spring github or spring boot github as both are gradle. Basically you need to try to focus in on those using gradle to see how they might achieve things. This would not be an issue with our repo otherwise.

At least for myself, I personally don't care for gradle. Few reasons why, first its just built on top of groovy so it lacks fact that groovy is unable to keep pace fast enough with java these days (it may allow kotlin now but personally feel the same, its still not directly java), and second it changes far too quickly lacking easy backwards compatibility. On the second, I can point out numerous repos that are in bad states such as spotbugs as direct result. Anyway that is my personal feelings and not a consensus in any way.

That said, unless you have a massively compelling reason, I would just stick to maven. As you note, you are just wanting to learn it. Yet in that regard, here you are on a maven based project team asking how to work with gradle :) Maven is in fact addressing any reason in java space that gradle even exists making a move to it not really that important.

One other thing, if you intend to use latest stuff as seems indicated mostly in your build, use all latest, specifically, you used spring boot 2.7.5 and 2.7.10 and io.spring.dependency-management is still on very old spring style RELEASE they don't use any more. Also you didn't indicate what gradle version, what java version, etc.

from generator.

jeffgbutler avatar jeffgbutler commented on August 16, 2024

We don't publish a Gradle plugin for MyBatis generator. There are several such plugins out there, but I'm not familiar with their usage. You can find the plugins here: https://plugins.gradle.org/search?term=mybatis+generator. But again, these plugins are not published by our project and are not "official".

from generator.

Moyulingjiu avatar Moyulingjiu commented on August 16, 2024

We don't publish a Gradle plugin for MyBatis generator. There are several such plugins out there, but I'm not familiar with their usage. You can find the plugins here: https://plugins.gradle.org/search?term=mybatis+generator. But again, these plugins are not published by our project and are not "official".

thanks

from generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.