Skip to content

[Android] Enabling cli config options for android generator #817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2015
Merged

[Android] Enabling cli config options for android generator #817

merged 1 commit into from
Jun 5, 2015

Conversation

who
Copy link
Contributor

@who who commented Jun 2, 2015

Now that #805 (thanks @hyeghiazaryan !) has been merged to develop_2.0 (thanks @olensmar !), I've updated the android-java generator to use the new config file functionality.

Here's the output of the android-java config-help :

$ swagger-codegen config-help -l android

CONFIG OPTIONS
    modelPackage
        package for generated models

    apiPackage
        package for generated api classes

    invokerPackage
        root package to use for the generated code

    groupId
        groupId for use in the generated build.gradle and pom.xml

    artifactId
        artifactId for use in the generated build.gradle and pom.xml

    artifactVersion
        artifact version for use in the generated build.gradle and pom.xml

    sourceFolder
        source folder for generated code

    useAndroidMavenGradlePlugin
        A flag to toggle android-maven gradle plugin. Default is true.

I also fixed an issue with gradle variables which was causing build breakages.

@hyeghiazaryan
Copy link
Contributor

+1 to merge this

@olensmar
Copy link
Contributor

olensmar commented Jun 4, 2015

looks good to me - waiting for @fehguy

fehguy added a commit that referenced this pull request Jun 5, 2015
[Android] Enabling cli config options for android generator
@fehguy fehguy merged commit e1393d1 into swagger-api:develop_2.0 Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants