mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
29 lines
524 B
Groovy
29 lines
524 B
Groovy
|
apply plugin: 'java'
|
||
|
//apply plugin: 'maven'
|
||
|
apply plugin:'application'
|
||
|
|
||
|
archivesBaseName = 'gadgetbridge-daogenerator'
|
||
|
//version = '0.9.2-SNAPSHOT'
|
||
|
|
||
|
dependencies {
|
||
|
compile 'de.greenrobot:greendao-generator:2.1.0'
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
main {
|
||
|
java {
|
||
|
srcDir 'src'
|
||
|
srcDir 'src-gen'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
task (genSources, type: JavaExec) {
|
||
|
main = "nodomain.freeyourgadget.gadgetbridge.daogen.GBDaoGenerator"
|
||
|
classpath = sourceSets.main.runtimeClasspath
|
||
|
}
|
||
|
|
||
|
artifacts {
|
||
|
archives jar
|
||
|
}
|