mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-09 19:49:30 +01:00
33 lines
679 B
Groovy
33 lines
679 B
Groovy
apply plugin: 'java'
|
|
//apply plugin: 'maven'
|
|
apply plugin:'application'
|
|
|
|
archivesBaseName = 'gadgetbridge-daogenerator'
|
|
//version = '0.9.2-SNAPSHOT'
|
|
|
|
dependencies {
|
|
// compile 'org.greenrobot:greendao-generator:2.2.0'
|
|
// compile project(":DaoGenerator")
|
|
compile 'com.github.freeyourgadget:greendao:1998d7cd2d21f662c6044f6ccf3b3a251bbad341'
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDir 'src'
|
|
}
|
|
}
|
|
}
|
|
|
|
mainClassName = "nodomain.freeyourgadget.gadgetbridge.daogen.GBDaoGenerator"
|
|
|
|
task genSources(type: JavaExec) {
|
|
main = mainClassName
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
workingDir = '../'
|
|
}
|
|
|
|
artifacts {
|
|
archives jar
|
|
}
|