Code Monkey home page Code Monkey logo

gradle-jsonschema2pojo-plugin's People

Contributors

ben-manes avatar joelittlejohn avatar stackmagic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dashao598

gradle-jsonschema2pojo-plugin's Issues

Documentation Update

Hi

Just a thought. I think it would make sense to extend your readme so it mentions how to make the compile task dependent on the js2p plugin. It took me a while to figure this out because the actual task is named differently than the js2p closure:

compileJava.dependsOn generateJsonSchema2Pojo

I'd guess most people will want this dependency anyway.

Patrick

Referencing pre-existing classes

Hi Ben

I had a little issue last week when trying to use joda-time instead of the jvm time classes. The generator would generate new classes instead of re-using the existing ones. The joda-time lib was on the project classpath and the generator would only not generate the extra classes when the library is on the buildscript-classpath too.

Here's the discussion I had with the jsonschema2pojo maintainer: https://code.google.com/p/jsonschema2pojo/issues/detail?id=110

Could you change the plugin so it adds the project classpath to the plugin/task classpath before invoking the generator? Then the behaviour would be consistent with the plugins' maven/ant counterparts and work more intuitively IMO.

Thank you
Patrick

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.