The latest master has better support for gradle-based build 
(e.g. 
https://github.com/swagger-api/swagger-codegen/blob/master/samples/client/petstore/java/okhttp-gson/build.gradle).
 
Please give it a try.

I don't think codegen produces build.gradle for *all* Java-related 
generators at the moment, please open a ticket 
via https://github.com/swagger-api/swagger-codegen/issues/new on which 
generator you would like to see the build.gradle file auto-generated.

Arkady Trestman於 2017年2月16日星期四 UTC+8上午3時57分09秒寫道:
>
> When code-generating Java based APIs (Spring, JAX-RS, etc) only Maven 
> based builds are being produced (essentially top level pom-file). My 
> question - what is the way to generate Gradle based build  (build.gradle) 
> alongside pom or instead of it.
>
> Thanks,
> Arkady,
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to