2016-03-27 22:13:06 +02:00
|
|
|
apply plugin: 'java'
|
|
|
|
//apply plugin: 'maven'
|
|
|
|
apply plugin:'application'
|
|
|
|
|
|
|
|
archivesBaseName = 'gadgetbridge-daogenerator'
|
|
|
|
//version = '0.9.2-SNAPSHOT'
|
|
|
|
|
|
|
|
dependencies {
|
2016-05-01 23:56:14 +02:00
|
|
|
// compile 'org.greenrobot:greendao-generator:2.2.0'
|
|
|
|
compile 'com.github.freeyourgadget:greendao:c3830951e5dd3d1e63d7bac600d5f773b81df363'
|
2016-03-27 22:13:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDir 'src'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-09 18:18:16 +02:00
|
|
|
mainClassName = "nodomain.freeyourgadget.gadgetbridge.daogen.GBDaoGenerator"
|
|
|
|
|
|
|
|
task genSources(type: JavaExec) {
|
|
|
|
main = mainClassName
|
2016-03-27 22:13:06 +02:00
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
2016-04-09 18:18:16 +02:00
|
|
|
workingDir = '../'
|
2016-03-27 22:13:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives jar
|
|
|
|
}
|