How are you opening the project in IntelliJ? Are you using ./gradlew idea to generate the project files and then opening that, or are you using IntelliJ’s built in Gradle support to open the Gradle project directly? Answer from Chris_Dore on discuss.gradle.org
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 4403516074258-External-Libraries-do-not-update-when-changing-Spring-Boot-Gradle-plugin-version
External Libraries do not update when changing Spring Boot Gradle plugin version – IDEs Support (IntelliJ Platform) | JetBrains
>With a new Gradle projet, no src folder with main and test subdirectories is created ... Hello Andrey Dernov That was an excellent suggestion! I disabled the Scala plugin, then deleted both .idea directory and .iml file and after I recreated all the project from the existing sources. It worked. I have now the right Spring Boot dependencies in the « External Libraries » section of the project.
🌐
GitHub
github.com › gradle › gradle › issues › 2400
External Dependencies downloaded but not pulled in IntelliJ even after clearing gradle cache · Issue #2400 · gradle/gradle
July 6, 2017 - The build is successful however the External Libraries in Intellij does not display Gradle:com.google.code.gson:2.2.4 or gemstone.gemfire also happened with okhttp3 dependency. This is happened after a gradle upgrade from 3.3. I have even updated to 4 using brew and did do ./gradlew clean build yet no dependencies reappear.
Author   gradle
🌐
Gradle
discuss.gradle.org › help/discuss
External Dependencies not pulled after clearing gradle cache - Help/Discuss - Gradle Forums
July 5, 2017 - This is a boiler plate gradle file from Spring.io. I added few dependencies like okhttp and following that i had add gson dependency to prettify json. but the last dependencies never appears in the project compilation in IntelliJ. I can’t use the library. Infact can’t use any latest library.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000405770-How-to-rebuild-project-structure-libraries-
How to rebuild project structure libraries? – IDEs Support (IntelliJ Platform) | JetBrains
July 21, 2017 - Gradle builds work fine but Intellij build fails. ... I may have to add: It was a Gradle library I removed. The empty entry is still missing in Project Structure->Libraries but classes and source are missing. Gradle refresh does not work. ... Delete .idea directory and reimport from build.gradle. ... Nevermind. Gradle refresh did work, but i had to select the specific Gradle (sub)project for refreshing external libs.
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-254156 › Gradle-dependencies-are-not-refreshed-correctly-from-local-Maven-repo
Gradle dependencies are not refreshed correctly from local ...
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
codestudy
codestudy.net › blog › getting-gradle-dependencies-in-intellij-idea-using-gradle-build
How to Fix Gradle Dependencies Not Showing in IntelliJ IDEA External Libraries: Automatically Import build.gradle Dependencies — codestudy.net
Update Gradle (if needed) by modifying gradle-wrapper.properties or running ./gradlew wrapper --gradle-version 8.2 (replace 8.2 with a compatible version). In IntelliJ, go to File > Settings > Build, Execution, Deployment > Build Tools > Gradle.
🌐
JetBrains
jetbrains.com › guide › java › tutorials › working-with-gradle › gradle-dependencies
Gradle dependencies - JetBrains Guide
February 17, 2023 - Once IntelliJ IDEA has reloaded our updated build file with the new dependency, this new dependency will appear in our external libraries in the project window. Alternatively, we may want to use IntelliJ IDEA's code completion for adding a new dependency. We get code completion in the build.gradle.kts file the way we would in all supported file types.
Find elsewhere
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-88697
IDEA doesn't refresh dependencies changed in build. ...
March 19, 2022 - {{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 10347092032146-External-Lib-showing-up-but-I-can-t-import-it
External Lib showing up, but I can't import it – IDEs Support (IntelliJ Platform) | JetBrains
The `traac-core` 2.4.0 might depend on the `jackson` but the `2.5.0` does not. Add `implementation in your `build.gradle`'s `dependencies` section and reimport it to fix it. ... Hi Lejia Chen, I have control over the traac-core code. In fact my original intention was to update the jackson version in traac-core and use the new traac-core in traac-java.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 115000667364-Gradle-toggling-between-2-missing-dependencies-on-refresh
Gradle toggling between 2 missing dependencies on refresh – IDEs Support (IntelliJ Platform) | JetBrains
Whenever I modify a build.gradle file in any of the subprojects, Intellij asks me if I want to import changes. This never works, I always have to refresh all dependencies from the Gradle tool window, and usually several times to get the project to start compiling again. This was always painful, but now several team members are getting permanently stuck with a failing build, where after a Gradle Refresh a specific dependency just disappears from the Project->External Libraries list.
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-311323 › External-Libraries-occur-in-multiple-versions-when-loading-from-Gradle
External Libraries occur in multiple versions when loading ...
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360009489320-Refreshing-Gradle-dependencies-doesn-t-work-sometimes
Refreshing Gradle dependencies doesn't work sometimes – IDEs Support (IntelliJ Platform) | JetBrains
Please also attach idea.log (Help | Show Log in ... action) file after IDE restart and reproducing issue with Gradle refresh. For uploading you can use https://uploads.services.jetbrains.com or any file sharing service. >Sometimes when I update the version of a dependency in the build.gradle file
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360006842600-How-to-fix-the-settings-of-the-gradle-project-so-that-after-the-dependency-update-an-extra-module-does-not-appear-
How to fix the settings of the gradle project so that after the dependency update an extra module does not appear? – IDEs Support (IntelliJ Platform) | JetBrains
December 12, 2019 - After executing the “File > Invalidste Caches / Restart” command, the “Libraries” window of the project structure does not have all the dependencies. The structure of the project modules in the "Modules" window is shown correctly. I start dependency updates with the button in the tool window of the Gradle tool.
🌐
JetBrains
jetbrains.com › guide › java › tutorials › working-with-gradle › syncing-and-reloading
Syncing and reloading - JetBrains Guide
October 23, 2024 - We can configure the settings for how IntelliJ IDEA syncs with Gradle by pressing the settings icon in the Gradle tool window, and selecting Auto-Reload Settings. We can set IntelliJ IDEA to automatically reload the project after "Any changes" ...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206229019-Dependency-version-change-in-build-gradle-does-not-update-IntelliJ-project
Dependency version change in build.gradle does not update IntelliJ project – IDEs Support (IntelliJ Platform) | JetBrains
Ok, thanks for the feedback. What I do now to go around the problem is, whenever I change/remove a dependency in my build.gradle file, I go in the project settings settings and basically drop every library. I then go in the JetGradle window and reimport the dependencies.
🌐
JetBrains
youtrack.jetbrains.com › issue › IDEA-241189
IntelliJ download the dependencies, but they are not ...
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong