ben-manes / gradle-jsonschema2pojo-plugin Goto Github PK
View Code? Open in Web Editor NEWjsonschema2pojo plugin for Gradle (deprecated)
License: Apache License 2.0
jsonschema2pojo plugin for Gradle (deprecated)
License: Apache License 2.0
Please can you add GSON annotation support? The jsonschema2pojo supports it: http://www.jsonschema2pojo.org/
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.