Skip to content

Snapshots

lifengsofts edited this page Mar 14, 2017 · 3 revisions

Obtaining Snapshots

Jar

Jars can be downloaded directly from Sonatype. Double check the date to make sure you're getting the latest version.

Gradle

Add the snapshot repo to your list of repositories:

repositories {
  jcenter()
  maven {
    name 'glide-snapshot'
    url 'http://oss.sonatype.org/content/repositories/snapshots'
  }
}

And then change your dependencies to the v3 snapshot version:

dependencies {
  compile 'cn.woblog.android:downloader:1.0.0-SNAPSHOT'
}

Maven

Add the following to your ~/.m2/settings.xml:

<profiles>
  <profile>
     <id>allow-snapshots</id>
     <activation><activeByDefault>true</activeByDefault></activation>
     <repositories>
       <repository>
         <id>snapshots-repo</id>
         <url>https://oss.sonatype.org/content/repositories/snapshots</url>
         <releases><enabled>false</enabled></releases>
         <snapshots><enabled>true</enabled></snapshots>
       </repository>
     </repositories>
   </profile>
</profiles>

Then change your dependencies to the snapshot version:

<dependency>
  <groupId>com.github.bumptech.glide</groupId>
  <artifactId>glide</artifactId>
  <version>3.8.0-SNAPSHOT</version>
</dependency>

Clone this wiki locally