Gradle repo from gitlab?

I have a private gitlab repository. In gitlab, I published the library as a JAR file. This lib will be used by two other applications. How can I get gradle build scripts to use my private gitlab to load this dependency?

+6
source share
1 answer

AFAIK is not directly supported, so you can:

  • Upload the file to the file system and use the file system dependency
  • customize Ivy custom recognizer
  • hack ResolutionStrategy
+2
source

All Articles