Skip to content

Latest commit

 

History

History
76 lines (62 loc) · 1.52 KB

INSTALL.md

File metadata and controls

76 lines (62 loc) · 1.52 KB

Install Uranium

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!

Using Gradle

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'
}

Using Maven

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>