Zest™
Introduction
Tutorials
Javadoc
Samples
Core
Libraries
Extensions
Tools
Glossary 

Depend on Zest™ in your build

Note

Some of the Libraries and Extensions depend on artifacts that are not deployed in central, you’ll need to add other repositories to your build scripts accordingly.

Release artifacts, including sources and javadoc, are deployed to Maven Central:

http://repo1.maven.org/maven2/ (US)

http://uk.maven.org/maven2/ (Europe)

Snapshot artifacts, including sources and javadoc, are built against the develop branch and deployed weekly to the Apache SNAPSHOTS repository:

http://repository.apache.org/snapshots/

Manually

If you don’t rely on your build scripts dependency resolution mechanism you should download the SDK distribution.

Using Maven

You simply declare dependencies on Zest™ artifacts:

<dependencies>
    <dependency>
        <groupId>org.apache.zest.core</groupId>
        <artifactId>org.apache.zest.core.bootstrap</artifactId>
        <version>ZEST_VERSION</version>
    </dependency>
    <dependency>
        <groupId>org.apache.zest.core</groupId>
        <artifactId>org.apache.zest.core.runtime</artifactId>
        <version>ZEST_VERSION</version>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.zest.core</groupId>
        <artifactId>org.apache.zest.core.testsupport</artifactId>
        <version>ZEST_VERSION</version>
        <scope>test</scope>
    </dependency>
</dependencies>

Where ZEST_VERSION is the Zest™ version you want to use.

If you want to use -SNAPSHOT versions, you need to register the Apache Snapshots repository:

<repositories>
    <repository>
        <id>apache-snapshots</id>
        <url>https://repository.apache.org/snapshots/</url>
        <releases><enabled>false</enabled></releases>
        <snapshots><enabled>true</enabled></snapshots>
    </repository>
</repositories>

Using Gradle

You simply declare dependencies on Zest™ artifacts:

dependencies {
    compile     "org.apache.zest.core:org.apache.zest.core.bootstrap:ZEST_VERSION"
    runtime     "org.apache.zest.core:org.apache.zest.core.runtime:ZEST_VERSION"
    testCompile "org.apache.zest.core:org.apache.zest.core.testsupport:ZEST_VERSION"
}

Where ZEST_VERSION is the Zest™ version you want to use.

If you want to use -SNAPSHOT versions, you need to register the Apache Snapshots repository:

repositories {
    maven { name 'apache-snapshots'; url "https://repository.apache.org/snapshots/" }
}

Using Buildr

You simply declare dependencies on Zest™ artifacts:

compile.with 'org.apache.zest.core:org.apache.zest.core.bootstrap:ZEST_VERSION'
package(:war).with :libs => 'org.apache.zest.core:org.apache.zest.core.runtime:ZEST_VERSION'
test.with 'org.apache.zest.core:org.apache.zest.core.testsupport:ZEST_VERSION'

Where ZEST_VERSION is the Zest™ version you want to use.

If you want to use -SNAPSHOT versions, you need to register the Apache Snapshots repository:

repositories.remote << 'https://repository.apache.org/snapshots/'

Using SBT

You simply declare dependencies on Zest™ artifacts:

libraryDependencies += \
    "org.apache.zest.core" % "org.apache.zest.core.bootstrap" % "ZEST_VERSION" \
    withSources() withJavadoc()
libraryDependencies += \
    "org.apache.zest.core" % "org.apache.zest.core.runtime" % "ZEST_VERSION" % "runtime" \
    withSources() withJavadoc()
libraryDependencies += \
    "org.apache.zest.core" % "org.apache.zest.core.testsupport" % "ZEST_VERSION" % "test" \
    withSources() withJavadoc()

Where ZEST_VERSION is the Zest™ version you want to use.

If you want to use -SNAPSHOT versions, you need to register the Apache Snapshots repository:

resolvers += "apache-snapshots" at "https://repository.apache.org/snapshots/"

Using Ivy

You simply declare dependencies on Zest™ artifacts:

<ivy-module>
    <dependencies>
        <dependency org="org.apache.zest.core" name="org.apache.zest.core.bootstrap"
                    rev="ZEST_VERSION"  conf="default" />
        <dependency org="org.apache.zest.core" name="org.apache.zest.core.runtime"
                    rev="ZEST_VERSION"  conf="runtime" />
        <dependency org="org.apache.zest.core" name="org.apache.zest.core.testsupport"
                    rev="ZEST_VERSION"  conf="test" />
    </dependencies>
</ivy-module>

Where ZEST_VERSION is the Zest™ version you want to use.

If you want to use -SNAPSHOT versions, you need to register the Apache Snapshots repository in a ivysettings.xml file:

<ivysettings>
    <settings defaultResolver="chain"/>
    <resolvers>
        <chain name="chain">
            <ibiblio name="apache-snapshots" m2compatible="true"
                     root="https://repository.apache.org/snapshots/"/>
        </chain>
    </resolvers>
</ivysettings>