build.gradle

Cannot find Plugin [id: 'com.github.johnrengelman.shadow', version: '5.2.0']

大兔子大兔子 提交于 2021-02-19 08:56:15
问题 I'm currently trying to create a simple discord bot. I finished the code and I'm trying to export it through shadow--> shadowJar. I keep getting this error message: Plugin [id: 'com.github.johnrengelman.shadow', version: '5.2.0'] was not found in any of the following sources: Gradle Core Plugins (plugin is not in 'org.gradle' namespace) Plugin Repositories (could not resolve plugin artifact 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:5.2.0') Searched in the

Setting IntelliJ compiler args in Gradle

随声附和 提交于 2021-02-18 21:58:44
问题 I need to add the -parameters java compiler parameter for my tests to succeed. I can do this in gradle already for ./gradlew build to work, or manually by adding -parameters under IntelliJ Settings > Build.. > Compiler > Java Compiler > Additional command line parameters: so they work in the IDE, but I don't want everyone who checks out this repo to have to do a manual step. My .ipr file does show <component name="JavacSettings"> <option name="ADDITIONAL_OPTIONS_STRING" value="-parameters" />

Android Studio 3.1 : Could not find org.jetbrains.trove4j:trove4j:20160824

自古美人都是妖i 提交于 2021-02-18 19:55:09
问题 Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://dl.google.com/dl/android/maven2

Android Studio 3.1 : Could not find org.jetbrains.trove4j:trove4j:20160824

青春壹個敷衍的年華 提交于 2021-02-18 19:54:40
问题 Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://dl.google.com/dl/android/maven2

Android Studio 3.1 : Could not find org.jetbrains.trove4j:trove4j:20160824

北战南征 提交于 2021-02-18 19:54:06
问题 Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom https://dl.google.com/dl/android/maven2

Gradle: Uber Jar creation fails with “Could not expand ZIP”

試著忘記壹切 提交于 2021-02-16 20:20:23
问题 I'm trying to create a Fat/Uber jar using Gradle. Unfortunately, I keep running into the following error: > Task :fatJar FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':fatJar'. > Could not expand ZIP '/home/me/.gradle/caches/modules-2/files-2.1/org.apache.drill/drill-client/1.13.0/c90c87887c292a3712eccc7cebdc48b0b9d93ec9/drill-client-1.13.0.pom'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get

Gradle fails to build at Test

浪子不回头ぞ 提交于 2021-02-11 17:18:20
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Gradle fails to build at Test

眉间皱痕 提交于 2021-02-11 17:14:32
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Gradle fails to build at Test

£可爱£侵袭症+ 提交于 2021-02-11 17:14:13
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Gradle fails to build at Test

五迷三道 提交于 2021-02-11 17:14:12
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is