Skip to content

Commit

Permalink
Release 2.2.1: Fixes pom. Updated readme with maven instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
davemorrissey committed Jan 9, 2015
1 parent c674dc9 commit 2b6553c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ This allows them to be decoded as RGB_565.

## Basic setup

Add the library to you app using one of these methods:
Add the library to your app using one of these methods:

* Clone the project and import the library project as a module in your app;
* Add `com.davemorrissey.labs:subsampling-scale-image-view:2.2.1` as a dependency in your build.gradle file
* *or* download the library aar file from the releases page and add to your app manually
* *or* clone the project and import the library subproject as a module in your app
* *or* clone the project and copy the resources and classes from `com.davemorrissey.labs.subscaleview` into your project
* *or* download the library from [builds/subsampling-scale-image-view.aar](https://github.com/davemorrissey/subsampling-scale-image-view/raw/master/builds/subsampling-scale-image-view.aar) and import it into your project

Add the view to your layout XML as shown below. Normally you should set width and height to `match_parent`.

Expand Down
Binary file removed builds/subsampling-scale-image-view.aar
Binary file not shown.
8 changes: 1 addition & 7 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ apply plugin: 'signing'

group = 'com.davemorrissey.labs'
archivesBaseName = 'subsampling-scale-image-view'
version = '2.2.0'

configurations {
archives {
extendsFrom configurations.default
}
}
version = '2.2.1'

signing {
required { has("release") && gradle.taskGraph.hasTask("uploadArchives") }
Expand Down

0 comments on commit 2b6553c

Please sign in to comment.