提交 efe2e77d 编写于 作者: T Takeshi Hagikura

Update the build tools version.

Remove the description to install the library from source.

Change-Id: I60bd354008b5e6f10071584d751aa379cfc75853
上级 d086301e
......@@ -3,30 +3,15 @@ FlexboxLayout is a library project which brings the similar capabilities of
[CSS Flexible Box Layout Module](https://www.w3.org/TR/css-flexbox-1) to Android.
## Installation
You have two options to install the library. You can choose either of:
Add the following dependency to your `build.gradle` file.
(1) Add the following dependency to your `build.gradle` file
(At this moment not available from jcenter)
TODO(thagikura): Upload the library to jCenter
(2) Use the GitHub source and include that as a module dependency by following steps
* Clone this library, parallel to your own application project:
```
git clone https://github.com/google/FlexboxLayout
```
* In the root of your application's project, edit the `settings.gradle` and add the following lines:
```
include ':FlexboxLayout'
project(':FlexboxLayout').projectDir = new File('../FlexboxLayout/')
```
* In your application's main module, edit your `build.gradle` to add a new dependency:
```
dependencies {
...
compile project(':FlexboxLayout')
}
compile 'com.google.android:flexbox:0.1.0'
}
```
## Usage
......
......@@ -32,7 +32,7 @@ ext {
minSdkVersion = 14
targetSdkVersion = 23
compileSdkVersion = 23
buildToolsVersion = "23.0.2"
buildToolsVersion = "23.0.3"
supportLibVersion = "23.3.0"
espressoVersion = "2.2.2"
testRunnerVersion = "0.5"
......
......@@ -24,7 +24,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionName "0.1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册