Whenever I refresh gradle project libraries named "Gradle: " are regenerated and whenever I launch project in IntelliJ libraries without "Gradle: " are regenerated (in sp"/>
  简体   繁体   中英

How to avoid mirroring libraries in IntelliJ IDEA using gradle?

I would like to avoid something like this in my project settings:

项目设置>库

Whenever I refresh gradle project libraries named "Gradle: " are regenerated and whenever I launch project in IntelliJ libraries without "Gradle: " are regenerated (in spite of deleting them).

Just disable auto-import by pressing Ctrl+Alt+S (or File -> Settings...) and deselecting a checkbox:

在此处输入图片说明

Your project was created with IntelliJ EAP version where libraries were imported without the prefix. You have to delete manually all unused libraries (without perfix) and refresh the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM