mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-24 19:06:53 +01:00
2e33256584
Yes I hate Java, and I hate gradle. Both are a huge waste of resources. I wonder how many nuclear plants could be switched off if people would stop using this bloated crappy VM bullshit language and "ecosystem". And no it does not "make you super productive" and it it does not justify "investing in more hardware cpu/ram/cloud capacity" because it is "cheaper than manpower".
43 lines
924 B
Groovy
43 lines
924 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'maven-publish'
|
|
apply plugin:'application'
|
|
|
|
archivesBaseName = 'gadgetbridge-daogenerator'
|
|
//version = '0.9.2-SNAPSHOT'
|
|
|
|
dependencies {
|
|
// implementation 'org.greenrobot:greendao-generator:2.2.0'
|
|
// implementation project(":DaoGenerator")
|
|
implementation '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
|
|
}
|
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
|
targetCompatibility = JavaVersion.VERSION_1_7
|
|
|
|
tasks.named("distTar") {
|
|
duplicatesStrategy = 'include'
|
|
}
|
|
|
|
tasks.named("distZip") {
|
|
duplicatesStrategy = 'include'
|
|
}
|