jonua
jonua

Reputation: 2025

Gradle repo from gitlab?

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

Upvotes: 7

Views: 1583

Answers (1)

Crazyjavahacking
Crazyjavahacking

Reputation: 9707

AFAIK this is not directly supported, so you can:

  1. Download the file to file system and use the file system dependency
  2. setup a custom Ivy resolver
  3. hack into ResolutionStrategy

Upvotes: 2

Related Questions