Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Gradle Repo Directory referenced in Project

$
0
0

Hello,

 

I used the Maven mechanism in IntelliJ Idea and the support is very convinient. I can download the JARs from Maven Central and IDEA puts the downloaded Library directly in into the Modules Library path, so I can compile my Java Source.

 

Now, I would like to use Gadle. Grald comes with its own repository and stores the downloaded JAR files  within the cache folder. Now I can run the gradle build but IDEA don't add the JARS automatically to the mdoule library folder. So I have to manually add all downloaded JARS files to the library project settings, so I can do my java source code creation.

I created a PATH Library which points to the Gradle root repository like this:

 

GRADLE_REPO = /Users/tadeusz/.gradle/caches/modules-2/files-2.1/*

 

So in this folder it contains all subdirectories which contains the source, java-doc and binary JAR files that have been downloaded by Gradle as defined deindependencies in my build.gradle file.

 

So I don't wanto to add manually all the jars files I defined as dependencies in my build.gradle file when I build my module. I would like to have the same comfort like with the maven integration.

 

Does anyone have already experience or a solution how I may use the Path library in order to archive this or another solution?


Kind regards.

Tadeusz


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>