The project's artifacts are hosted on Maven Central, and on a public Artifactory repository.
The only difference is that new releases will land on the artifactory repository a few hours earlier.
Version: If the version in this file is not current, don't forget to replace it by a recent version!
With the Kotlin DSL (build.gradle.kts
):
repositories {
// ...
mavenCentral()
// and/or:
maven {
url = uri("https://norswap.jfrog.io/artifactory/maven")
}
}
dependencies {
// ...
implementation("com.norswap:uranium:1.0.8-ALPHA")
}
With the Groovy DSL (build.gradle
):
repositories {
// ...
mavenCentral()
// and/or:
maven {
url 'https://norswap.jfrog.io/artifactory/maven'
}
}
dependencies {
// ...
implementation 'com.norswap:uranium:1.0.8-ALPHA'
}
In pom.xml
:
<project>
...
<repositories>
...
<!-- no repository declaration needed for using Maven Central -->
<repository>
<id>artifactory-norswap</id>
<url>https://norswap.jfrog.io/artifactory/maven</url>
</repository>
</repositories>
<dependencies>
...
<dependency>
<groupId>com.norswap</groupId>
<artifactId>uranium</artifactId>
<version>1.0.8-ALPHA</version>
</dependency>
</dependencies>
</project>