Skip to content

Commit

Permalink
Run mdm new repo .
Browse files Browse the repository at this point in the history
Reviewers: O6 Material Motion Android platform reviewers, O2 Material Motion, featherless

Reviewed By: O6 Material Motion Android platform reviewers, O2 Material Motion, featherless

Tags: #material_motion

Differential Revision: http://codereview.cc/D2083
  • Loading branch information
Mark Wei committed Nov 30, 2016
1 parent d3ae359 commit e4e57cc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .local.dependencies.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#
# Example:
#
# com.github.material-motion:material-motion-family-tween-android
# com.github.material-motion:family-tween-android
#
# These are dependencies defined in your build.gradle for which you would like to reflect any local
# changes. This is useful if you would like to develop multiple libraries in tandem.
Expand Down
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

[![Build Status](https://travis-ci.org/material-motion/family-tween-android.svg?branch=develop)](https://travis-ci.org/material-motion/family-tween-android)
[![codecov](https://codecov.io/gh/material-motion/family-tween-android/branch/develop/graph/badge.svg)](https://codecov.io/gh/material-motion/family-tween-android)
[![Release](https://img.shields.io/github/release/material-motion/family-tween-android.svg)](https://github.com/material-motion/family-tween-android/releases/latest)
[![Docs](https://img.shields.io/badge/jitpack-docs-green.svg)](https://jitpack.io/com/github/material-motion/family-tween-android/stable-SNAPSHOT/javadoc/)

The Tween Material Motion family provides a bridge between
[Property Animation](https://developer.android.com/guide/topics/graphics/prop-animation.html) and the
[Material Motion runtime](https://github.com/material-motion/runtime-android).
[Material Motion Runtime](https://github.com/material-motion/runtime-android).

## Features

Expand All @@ -31,8 +33,8 @@ Tween's properties map to the following ObjectAnimator properties:
| interpolator | interpolator |

Learn more about the APIs defined in the library by reading our
[technical documentation](https://jitpack.io/com/github/material-motion/family-tween-android/1.1.0/javadoc/) and our
[Starmap](https://material-motion.gitbooks.io/material-motion-starmap/content/specifications/runtime/).
[technical documentation](https://jitpack.io/com/github/material-motion/family-tween-android/1.0.0/javadoc/) and our
[Starmap](https://material-motion.github.io/material-motion/starmap/).

## Installation

Expand All @@ -48,18 +50,18 @@ allprojects {
}
```

Depend on the [latest version](https://github.com/material-motion/material-motion-family-tween-android/releases) of the library.
Depend on the [latest version](https://github.com/material-motion/family-tween-android/releases) of the library.
Take care to occasionally [check for updates](https://github.com/ben-manes/gradle-versions-plugin).

```gradle
dependencies {
compile 'com.github.material-motion:material-motion-family-tween-android:1.1.0'
compile 'com.github.material-motion:family-tween-android:1.0.0'
}
```

For more information regarding versioning, see:

- [Material Motion Versioning Policies](https://material-motion.gitbooks.io/material-motion-team/content/essentials/core_team_contributors/release_process.html#versioning)
- [Material Motion Versioning Policies](https://material-motion.github.io/material-motion/team/essentials/core_team_contributors/release_process#versioning)

### Using the files from a folder local to the machine

Expand All @@ -68,7 +70,7 @@ with its client project. To add a local dependency on this library, add this
library's identifier to your project's `local.dependencies`:

```
com.github.material-motion:material-motion-family-tween-android
com.github.material-motion:family-tween-android
```

> Because `local.dependencies` is never to be checked into Version Control
Expand All @@ -80,8 +82,7 @@ Systems, you must also ensure that any local dependencies are also defined in
For each local dependency listed, you *must* run `gradle install` from its
project root every time you make a change to it. That command will publish your
latest changes to the local maven repository. If your local dependencies have
local dependencies of their own, you must `gradle install` them as well. See
[Issue #16](https://github.com/material-motion/material-motion-runtime-android/issues/16).
local dependencies of their own, you must `gradle install` them as well.

You must `gradle clean` your project every time you add or remove a local
dependency.
Expand All @@ -100,14 +101,14 @@ choose the root `build.gradle` file.

To build the sample application, run the following commands:

git clone https://github.com/material-motion/material-motion-family-tween-android.git
cd material-motion-family-tween-android
git clone https://github.com/material-motion/family-tween-android.git
cd family-tween-android
gradle installDebug

To run all unit tests, run the following commands:

git clone https://github.com/material-motion/material-motion-family-tween-android.git
cd material-motion-family-tween-android
git clone https://github.com/material-motion/family-tween-android.git
cd family-tween-android
gradle test

## Guides
Expand All @@ -125,11 +126,11 @@ runtime.addPlan(tween, view);

We welcome contributions!

Check out our [upcoming milestones](https://github.com/material-motion/material-motion-family-tween-android/milestones).
Check out our [upcoming milestones](https://github.com/material-motion/family-tween-android/milestones).

Learn more about [our team](https://material-motion.gitbooks.io/material-motion-team/content/),
[our community](https://material-motion.gitbooks.io/material-motion-team/content/community/),
and our [contributor essentials](https://material-motion.gitbooks.io/material-motion-team/content/essentials/).
Learn more about [our team](https://material-motion.github.io/material-motion/team/),
[our community](https://material-motion.github.io/material-motion/team/community/), and
our [contributor essentials](https://material-motion.github.io/material-motion/team/essentials/).

## License

Expand Down
4 changes: 2 additions & 2 deletions install-local-dependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ name="$2"
dir="$(mdm dir $name)" || {
cat << EOF
Failed to get the local repo path for dependency $group:$name.
Make sure you read through our Contributor essentials: https://www.gitbook.com/book/material-motion/material-motion-team/
Make sure you read through our Contributor essentials: https://material-motion.github.io/material-motion/team/essentials/
Especially make sure that:
* You have installed our team's mdm tool https://material-motion.gitbooks.io/material-motion-team/content/essentials/frequent_contributors/tools.html
* You have installed our team's mdm tool https://material-motion.github.io/material-motion/team/essentials/frequent_contributors/tools
\$(mdm dir) should output the correct directory
* You have cloned the repo for $group:$name
\$(mdm dir $name) should output the correct directory
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group = 'com.github.material-motion'
install {
repositories.mavenInstaller {
pom.version = 'local'
pom.artifactId = 'material-motion-family-tween-android'
pom.artifactId = 'family-tween-android'
}
}

Expand Down

0 comments on commit e4e57cc

Please sign in to comment.