Skip to content

Console tools to generate code into domain and data layers in an AndroidApplication

License

Notifications You must be signed in to change notification settings

rulo7/dan-console

Repository files navigation

dan-console

Console tools to generate code into domain and data layers in an AndroidApplication

Usage

  1. Add the following lines to your root build.gradle:
repositories {
    ...
    maven {
        url "http://dl.bintray.com/racobos/maven"    
    }
}
dependencies {
    ...
    classpath 'com.racobos:danPlugin:1.0.1'
}
apply plugin: 'dan-plugin'
  1. Add your app name and your package name in the gradle.properties
# App Name
appName = Suplain

# Package syntax
packageSyntax = com.suplain.app
  1. Generate your own entities
    ./gradlew danGenerateEntity -Pentities=<entity1>,<entity2>
  1. Generate your UI view flows
    ./gradlew danGenerateUi -PuiName=<uiName>
  1. Generate the views into the UI flow defined
 ./gradlew danGenerateView -PuiName=<uiName> -PviewName=<viewName>

About

Console tools to generate code into domain and data layers in an AndroidApplication

Resources

License

Stars

Watchers

Forks

Packages

No packages published