2016-03-27 22:13:06 +02:00
|
|
|
apply plugin: 'java'
|
2019-02-11 21:00:47 +01:00
|
|
|
apply plugin: 'maven'
|
2016-03-27 22:13:06 +02:00
|
|
|
apply plugin:'application'
|
|
|
|
|
|
|
|
archivesBaseName = 'gadgetbridge-daogenerator'
|
|
|
|
//version = '0.9.2-SNAPSHOT'
|
|
|
|
|
|
|
|
dependencies {
|
2020-08-02 03:56:40 +02:00
|
|
|
// implementation 'org.greenrobot:greendao-generator:2.2.0'
|
|
|
|
// implementation project(":DaoGenerator")
|
|
|
|
implementation 'com.github.Freeyourgadget:greendao:1998d7cd2d21f662c6044f6ccf3b3a251bbad341'
|
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
|
|
|
|
}
|
2021-05-11 11:14:21 +02:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_7
|