Skip to content

Commit

Permalink
add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhenguo committed Jun 2, 2017
1 parent da01a60 commit d4b5286
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## Android工具类库 [![Build Status](https://travis-ci.org/kibotu/android-utils.svg?branch=master)](https://travis-ci.org/kibotu/android-utils) [![](https://jitpack.io/v/kibotu/android-utils.svg)](https://jitpack.io/#kibotu/android-utils) [![API](https://img.shields.io/badge/API-3%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=3) [![Gradle Version](https://img.shields.io/badge/gradle-2.13-green.svg)](https://docs.gradle.org/current/release-notes) [![Licence](https://img.shields.io/badge/licence-Apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
## Android工具类库 [![Build Status](https://travis-ci.org/jingle1267/android-utils.svg?branch=master)](https://travis-ci.org/jingle1267/android-utils)
[ ![Download](https://api.bintray.com/packages/ihongqiqu/maven/android-utils/images/download.svg) ](https://bintray.com/ihongqiqu/maven/android-utils/_latestVersion)
[![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=15) [![Gradle Version](https://img.shields.io/badge/gradle-3.3-green.svg)](https://docs.gradle.org/current/release-notes) [![Licence](https://img.shields.io/badge/licence-Apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)


囊括了一大部分Android应用开发过程当中常用的工具类。工具类来源整理自网络和自己编写。

Expand Down Expand Up @@ -124,15 +127,16 @@ allprojects {
repositories {
// other repositories
maven {
url "http://hongqiqu.bintray.com/maven"
url "http://dl.bintray.com/ihongqiqu/maven"
}
}
}
```


```xml
dependencies {
compile 'com.ihongqiqu.util:android-utils:1.0.0'
compile 'com.ihongqiqu:android-utils:1.0.2'
}
```

Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
})
compile 'com.android.support:appcompat-v7:25.1.0'
//compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
compile 'com.ihongqiqu.util:android-utils:1.0.1'
compile 'com.ihongqiqu:android-utils:1.0.2'
// testCompile 'junit:junit:4.12'
// compile project(path: ':util')
}
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ allprojects {
repositories {
jcenter()
maven {
url "http://hongqiqu.bintray.com/maven"
//url "http://hongqiqu.bintray.com/maven"
url "http://dl.bintray.com/ihongqiqu/maven"
}
}
tasks.getByPath(":util:mavenAndroidJavadocs").enabled = false
Expand Down
8 changes: 4 additions & 4 deletions util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
versionName "1.0.2"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand All @@ -34,10 +34,10 @@ dependencies {
}

publish {
userOrg = 'hongqiqu'
groupId = 'com.ihongqiqu.util'
userOrg = 'ihongqiqu'
groupId = 'com.ihongqiqu'
artifactId = 'android-utils'
publishVersion = '1.0.1'
publishVersion = '1.0.2'
desc = 'android utils'
website = 'https://github.com/jingle1267/android-utils'
}

0 comments on commit d4b5286

Please sign in to comment.