Skip to content

Commit

Permalink
1.2.1 build push to bintray and someBug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashok-Varma committed May 22, 2016
1 parent 5bfedf4 commit d3554a2
Show file tree
Hide file tree
Showing 27 changed files with 16 additions and 19 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-BottomNavigation-green.svg?style=true)](https://android-arsenal.com/details/1/3612)
[![Build Status](https://travis-ci.org/Ashok-Varma/BottomNavigation.svg?branch=master)](https://travis-ci.org/Ashok-Varma/BottomNavigation)
[![codecov](https://codecov.io/gh/Ashok-Varma/BottomNavigation/branch/master/graph/badge.svg)](https://codecov.io/gh/Ashok-Varma/BottomNavigation)

# BottomNavigation

Expand Down Expand Up @@ -32,17 +31,17 @@ Download [the latest JAR][mavenAarDownload] or grab via Maven:
<dependency>
<groupId>com.ashokvarma.android</groupId>
<artifactId>bottom-navigation-bar</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
<type>pom</type>
</dependency>
```
or Gradle:
```groovy
compile 'com.ashokvarma.android:bottom-navigation-bar:1.2.0'
compile 'com.ashokvarma.android:bottom-navigation-bar:1.2.1'
```
or Ivy:
```xml
<dependency org='com.ashokvarma.android' name='bottom-navigation-bar' rev='1.2.0'>
<dependency org='com.ashokvarma.android' name='bottom-navigation-bar' rev='1.2.1'>
<artifact name='$AID' ext='pom'></artifact>
</dependency>
```
Expand Down Expand Up @@ -205,5 +204,5 @@ limitations under the License.

[googlePlayStoreLink]: https://play.google.com/store/apps/details?id=com.ashokvarma.bottomnavigation.sample
[googlePage]: https://www.google.com/design/spec/components/bottom-navigation.html
[mavenAarDownload]: https://repo1.maven.org/maven2/com/ashokvarma/android/bottom-navigation-bar/1.2.0/bottom-navigation-bar-1.2.0.aar
[mavenAarDownload]: https://repo1.maven.org/maven2/com/ashokvarma/android/bottom-navigation-bar/1.2.1/bottom-navigation-bar-1.2.1.aar
[mavenLatestJarDownload]: https://search.maven.org/remote_content?g=com.ashokvarma.android&a=bottom-navigation-bar&v=LATEST
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ artifacts {

// Bintray
Properties properties = new Properties()
def user = System.env.gradlePublishUser
def key = System.env.gradlePublishKey
def secret = System.env.gradlePublishSecret
def defUser = System.env.gradlePublishUser
def defKey = System.env.gradlePublishKey
def defSecret = System.env.gradlePublishSecret

if (!key || !user || !secret) {
if (!defKey || !defUser || !defSecret) {
// This is for local build
properties.load(project.rootProject.file('local.properties').newDataInputStream())
} else {
// This is for remote build set System Properties in travis system
properties.setProperty("bintray.user", user)
properties.setProperty("bintray.apikey", key)
properties.setProperty("bintray.gpg.password", secret)
properties.setProperty("bintray.user", defUser)
properties.setProperty("bintray.apikey", defKey)
properties.setProperty("bintray.gpg.password", defSecret)
}

bintray {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ public void unSelect(boolean setActiveColor, int animationDuration) {
anim.setDuration(animationDuration);
this.startAnimation(anim);

// labelView.animate().scaleY(0).scaleX(0).setDuration(animationDuration).start();
labelView.setScaleY(0);
labelView.setScaleX(0);
labelView.animate().scaleY(0).scaleX(0).setDuration(0).start();
}

// @Override
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ ANDROID_BUILD_TOOLS_VERSION=23.0.3
ANDROID_BUILD_TARGET_SDK_VERSION=23
ANDROID_BUILD_MIN_SDK_VERSION=14

APP_VERSION_NAME = 1.2.0
APP_VERSION_CODE = 3
APP_VERSION_NAME = 1.2.1
APP_VERSION_CODE = 4

ANDROID_SUPPORT_LIBRARY_VERSION = 23.4.0
ANDROID_PLAY_SERVICES_VERSION = 8.4.0
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {
testCompile 'junit:junit:4.12'
compile "com.android.support:appcompat-v7:${supportLibraryVersion}"
compile "com.android.support:design:${supportLibraryVersion}"
compile project(':library')
compile project(':bottom-navigation-bar')
compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
transitive = true;
}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':sample', ':library'
include ':sample', ':bottom-navigation-bar'

0 comments on commit d3554a2

Please sign in to comment.