pwall567 / json-kotlin-schema-codegen

Code generation for JSON Schema (Draft 07)
MIT License
77 stars 14 forks source link

Gradle plugin? #1

Open mlove-au opened 3 years ago

mlove-au commented 3 years ago

Hi,

This looks great, and from first glance is just what I'm looking for! Are you planning on adding any kind of build system support soon? I'm happy to help.

pwall567 commented 3 years ago

Hi Matthias, thanks for the positive feedback.

Yes, I have a separate project json-kotlin-gradle - this simplifies the use of the code generator with Gradle. I haven't yet put it into the Gradle plugin repository, but it's usable from Nexus if you follow the instructions in the README (sorry, the documentation is very limited so far).

I'm finding that most people want to use the code generator in conjunction with OpenAPI files, and that is what the configuration options for the plugin mostly support. Let me know if this doesn't fit in with your usage.

And your question asked about build system support in general - I have looked into Maven support, but I haven't seen much demand for it so far. I'm happy to explore that further if anyone thinks it would be useful.

sschuberth commented 7 months ago

I haven't yet put it into the Gradle plugin repository

Also see https://github.com/pwall567/json-kotlin-gradle/issues/8.

have looked into Maven support, but I haven't seen much demand for it so far.

By now there is https://github.com/pwall567/json-kotlin-maven.

So could this issue be closed?