0

Is there an option available to add the Gradle dependency cache to Sonatype Nexus repository so that i can use that cached dependencies for my project later.

Sandeep K Nair
  • 2,512
  • 26
  • 26

1 Answers1

0

The easiest way will be writing a Gradle script, that will exact all the artifacts from Gradle cache using Gradle Artifact Query APIĀ and save them in a Maven layout. Then you can import them to Nexus or Artifactory.

JBaruch
  • 22,610
  • 5
  • 62
  • 90