I want to switch from maven to gradle.
In the pom.xml file I have a custom repository:
<repositories>
<repository>
<id>my_rep_name</id>
<url>http://*********</url>
</repository>
</repositories>
It's a simple http web server with .jar files.
How can I add this custom repo to the build.gradle?
I tried this code, but it does not work:
repositories {
mavenCentral()
maven {
url 'http://******'
}
}
My custom repo is not a maven repo, but I did not find another examples in the Gradle documentation where I can specify the URL.