Skip to content

Instalation

Marco Antonio edited this page Dec 4, 2021 · 6 revisions

Released (official) versions

Installation with Maven

<dependency>
  <groupId>com.github.anastaciocintra</groupId>
  <artifactId>escpos-coffee</artifactId>
  <version>4.1.0</version>
</dependency>

Installation with Gradle

Step 1. Add the repository to your build file

repositories {
    mavenCentral()
}

Step 2. Add the dependency

dependencies {
    implementation 'com.github.anastaciocintra:escpos-coffee:4.1.0'
}





SNAPSHOT Versions

The Snapshot versions are desenv, test or unstable versions.


CAUTION: DO NOT USE SNAPSHOT version on production environment!


To enable you to use SNAPSHOT versions of escpos-coffee library, you need to configure the pom.xml:

    <repositories>
        <repository>
            <id>oss.sonatype.org-snapshot</id>
            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

In case of gradle:

repositories {
    mavenCentral()

    maven {
        url "https://oss.sonatype.org/content/repositories/snapshots"
    }
}