All Questions
Tagged with gradle intellij-idea
3,044
questions
2
votes
0
answers
26
views
Gradle does not see log field through @Log4j2 annotation inside lombok in InteliJ
I have a class
@Log4j2
public class TestClass {
public void doSmth() {
log.info("doSmth");
}
}
When I try to compile my code using gradle (tap on "assemble" button ...
-1
votes
0
answers
25
views
How can I run JaCoCo with gradle using Intellij?
I am getting the following error when trying to run a Spring Boot test with coverage in Intellij.
Caused by: java.lang.LinkageError: loader 'bootstrap' attempted duplicate class definition for java....
0
votes
0
answers
13
views
How do I report multiple errors per file in Intellij?
I have a Gradle plugin, written in Kotlin, that preprocesses files with a custom parser. It is designed to be able to handle multiple errors per file and the plugin processes multiple files in a batch....
0
votes
0
answers
13
views
IntelliJ IDEA Spring Boot - How to disable "automatically detecting descriptor settings in application.properties"
It seems that with this feature on, Gradle won't generate a plain war for tomcat deployment; it will only generate a war executable using spring boot launcher which is not what I needed in this case.
...
0
votes
0
answers
12
views
How do I get IntelliJ to recognize arguments defined in my ~/.grade/gradle.properties file?
I'm running IntelliJ 2023.3.4 on Windows. I have imported a Gradle project and I have these lines in my build.gradle file
...
credentials {
≠≠ username = "${my_user}"
...
0
votes
0
answers
19
views
How to use Java 8 libs in Java 11 or later applications?
I need several jar libraries that are build with Java 8 and that do not contain the needed module-info.jar files. But the application's dependencies require at least Java 11 (JavaFX).
Compiling is ...
0
votes
0
answers
37
views
plugins\Galactifun.jar does not contain a paper-plugin.yml or plugin.yml. Could not determine plugin type, cannot load a plugin from it
I recently forked a Minecraft plugin by the name of Galactifun in order to adapt it to the needs of my server however I realised I couldn't compile it properly.
The plugin uses a gradle plugin called &...
-2
votes
0
answers
102
views
Task runClient in Intellij IDEA failed with error 0xc0000005, don't know how to fix it
So, I am trying to learn how to mod Minecraft using this tutorial. I followed the steps of the video until 12min30sec, where he says to execute the task runClient. The program starts to build, but ...
-1
votes
0
answers
56
views
Compiler issue java-17
Facing below issue while building the project and running test cases in intellij spring-boot project, tried reimporting the project, clean build but nothing worked
java: An exception has occurred in ...
0
votes
1
answer
14
views
jvm-test-suite throws unexpected groovy warning in intellij
I am trying to use jvm-test-suite in a sample gradle app, however I am getting
'suites' cannot be applied to '(groovy.lang.Closure)'
This is my build.gradle:
plugins {
id 'java'
id 'jvm-test-...
0
votes
0
answers
40
views
Why is the ViewModelProvider class private
I wanted to get started with developing android apps. I created a new project in Intellij. It can't build because Intellij says that the class ViewModelProvider has a private constructor.
I tried a ...
-2
votes
0
answers
34
views
I keep getting this error no matter what i do
Multiple build operations failed.
Could not move temporary workspace (C:\Users\probe.gradle\caches\transforms-4\94a8fabe22e21ddd2935b7b3202c3084-952c39c6-e407-450f-89b8-103b17d116ed) to immutable ...
0
votes
0
answers
20
views
Choose what build tool to import from in IDEA
I have a project that has a dual-build system: Gradle, and Bazel (for a subset of modules). After I installed the IntelliJ Bazel plugin the project is automatically imported via Bazel and misses most ...
0
votes
2
answers
61
views
Dependency of a JavaFX module to another Java Gradle module fails in IntelliJ
I am running IntelliJ IDEA Community Edition 2024.1.4 and want to create a simple project with multiple inter-dependent modules using Gradle and Java 21.
The root directory contains a settings.gradle:
...
0
votes
1
answer
61
views
Code insight unavailable (script configuration wasn't received) when create a custom gradle.kts file
I create a sample Kotlin project with Gradle DSL using IntelliJ IDEA and when i create a custom gradle.kts file(named custom.gradle.kts, located at the same level as settings.gradle.kts & build....