Skip to content

Instantly share code, notes, and snippets.

@FisherKK
Last active August 29, 2015 13:57
Show Gist options
  • Save FisherKK/9805473 to your computer and use it in GitHub Desktop.
Save FisherKK/9805473 to your computer and use it in GitHub Desktop.
project(':MyDaoGenerator') {
apply plugin: 'application'
apply plugin: 'java'
mainClassName = "pl.surecase.eu.MyDaoGenerator"
// edit output direction
outputDir =
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile('de.greenrobot:DaoGenerator:1.3.0')
}
task createDocs {
def docs = file(outputDir)
docs.mkdirs()
}
run {
args outputDir
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment