Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 1.77 KB

INSTALL.md

File metadata and controls

75 lines (59 loc) · 1.77 KB

Install Autumn

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.

Setup: If you are using IntelliJ IDEA, make sure to define the environment variable AUTUMN_USE_CHAR_COLUMN for more accurate hyperlinked file locations. The same applies if your editor supports hyperlinked file locations with columns expressed as a character offset (tabs count for 1) instead of width (tabs go to next multiple of the tab size).

Version: If the version in this file is not current, don't forget to replace it by a recent version! Aim to use a version listed on the Github releases page.

Using Gradle

With the Kotlin DSL (build.gradle.kts):

repositories {
    // ...
    jcenter()
}

dependencies {
    // ...
    implementation("com.norswap:autumn:1.2.0")
}

With the Groovy DSL (build.gradle):

repositories {
    // ...
    jcenter()
}

dependencies {
    // ...
    implementation 'com.norswap:autumn:1.2.0'
}

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>autumn</artifactId>
      <version>1.2.0</version>
    </dependency>  
  </dependencies>
</project>