From 2e3325658430b8e99c7566ee5ce6f7d90247259a Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Fri, 30 Jul 2021 16:17:42 +0200 Subject: [PATCH] java/gradle crap: do something I do not even want to understand to fix random build errors 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". --- GBDaoGenerator/build.gradle | 8 ++++++++ app/build.gradle | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/GBDaoGenerator/build.gradle b/GBDaoGenerator/build.gradle index 609846799..4b36de942 100644 --- a/GBDaoGenerator/build.gradle +++ b/GBDaoGenerator/build.gradle @@ -32,3 +32,11 @@ artifacts { } sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 + +tasks.named("distTar") { + duplicatesStrategy = 'include' +} + +tasks.named("distZip") { + duplicatesStrategy = 'include' +} diff --git a/app/build.gradle b/app/build.gradle index 257990258..1b8a955ab 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -104,7 +104,7 @@ dependencies { implementation 'com.jaredrummler:colorpicker:1.0.2' // implementation project(":DaoCore") implementation 'com.github.wax911:android-emojify:0.1.7' - implementation 'com.google.protobuf:protobuf-lite:3.0.0' + implementation 'com.google.protobuf:protobuf-lite:3.0.1' implementation "androidx.multidex:multidex:2.0.1" }