Skip to content

Commit

Permalink
Published library to Maven Central as an AAR and updated README to re…
Browse files Browse the repository at this point in the history
…flect changes
  • Loading branch information
nvanbenschoten committed Jul 8, 2014
1 parent bec0860 commit 0b9c1aa
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build
.gradle
/local.properties
.idea/
Expand Down
43 changes: 40 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,42 @@ iOS 7's new parallax effect.
Demo
----

Feel free to download the [demo](https://github.com/nvanbenschoten/motion/releases) to try
out motion.
Feel free to download the [demo][1] to try out motion.

Setup
-----
* In Eclipse, just import the library as an Android library project.
* Project > Clean to generate the binaries you need, like R.java, etc.
* Then, just add Motion as a dependency to your existing project and you're good to go!

**Or**:

* [Download the .jar file][2]
* Add the .jar files to your project's `libs` folder, or add them as external jars to your project's
build path.

**Or**:

Add the following to your `build.gradle`:

repositories {
mavenCentral()
}

dependencies{
compile 'com.nvanbenschoten.motion:library:1.0.1'
}

**Or**:

Add the following to your `pom.xml`:

<dependency>
<groupId>com.nvanbenschoten.motion</groupId>
<artifactId>library</artifactId>
<version>1.0.1</version>
<type>aar</type>
</dependency>

Usage
-----
Expand Down Expand Up @@ -75,4 +109,7 @@ License
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

[1]: https://github.com/nvanbenschoten/motion/releases
[2]: https://github.com/nvanbenschoten/motion/releases/download/v1.0.1/com.nvanbenschoten.motion-1.0.1.jar
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=1.0.0
VERSION_CODE=26
VERSION_NAME=1.0.1
VERSION_CODE=28
GROUP=com.nvanbenschoten.motion

POM_DESCRIPTION=An Android library allowing images to exhibit a parallax effect
Expand Down
2 changes: 1 addition & 1 deletion motion/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 8
targetSdkVersion 20
versionCode 26
versionName '1.0.0'
versionName '1.0.1'
}
buildTypes {
release {
Expand Down
2 changes: 1 addition & 1 deletion motion/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nvanbenschoten.motion">
<application />
<application android:allowBackup="true"/>
</manifest>
3 changes: 0 additions & 3 deletions motion/src/main/res/values/strings.xml

This file was deleted.

0 comments on commit 0b9c1aa

Please sign in to comment.