Merge pull request #2093 from mfietz/upgrade-libs

Upgrade dependencies
This commit is contained in:
Martin Fietz 2016-08-04 22:42:29 +02:00 committed by GitHub
commit eaa1745fa6
7 changed files with 129 additions and 125 deletions

View File

@ -138,7 +138,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
ListView list = (ListView) solo.getView(R.id.nav_list); ListView list = (ListView) solo.getView(R.id.nav_list);
for (int i = 0; i < uiTestUtils.hostedFeeds.size(); i++) { for (int i = 0; i < uiTestUtils.hostedFeeds.size(); i++) {
Feed f = uiTestUtils.hostedFeeds.get(i); Feed f = uiTestUtils.hostedFeeds.get(i);
solo.clickOnScreen(50, 50); // open nav drawer openNavDrawer();
solo.scrollListToLine(list, i); solo.scrollListToLine(list, i);
solo.clickOnText(f.getTitle()); solo.clickOnText(f.getTitle());
solo.waitForView(android.R.id.list); solo.waitForView(android.R.id.list);

View File

@ -6,7 +6,7 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath "com.android.tools.build:gradle:1.5.0" classpath 'com.android.tools.build:gradle:2.1.2'
classpath "me.tatarka:gradle-retrolambda:3.2.4" classpath "me.tatarka:gradle-retrolambda:3.2.4"
classpath "me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2" classpath "me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2"
classpath 'com.github.triplet.gradle:play-publisher:1.1.4' classpath 'com.github.triplet.gradle:play-publisher:1.1.4'
@ -38,7 +38,7 @@ subprojects {
project.ext { project.ext {
compileSdkVersion = 23 compileSdkVersion = 23
buildToolsVersion = "23.0.2" buildToolsVersion = "23.0.3"
minSdkVersion = 10 minSdkVersion = 10
targetSdkVersion = 23 targetSdkVersion = 23
@ -49,16 +49,16 @@ project.ext {
flattr4jVersion = "2.13" flattr4jVersion = "2.13"
glideVersion = "3.7.0" glideVersion = "3.7.0"
glideOkhttpIntegrationVersion = "1.4.0" glideOkhttpIntegrationVersion = "1.4.0"
iconifyVersion = "2.2.1" iconifyVersion = "2.2.2"
jsoupVersion = "1.7.3" jsoupVersion = "1.9.2"
materialDialogsVersion = "0.8.5.6@aar" materialDialogsVersion = "0.8.5.6@aar"
okhttpVersion = "2.7.5" okhttpVersion = "2.7.5"
okioVersion = "1.6.0" okioVersion = "1.9.0"
recyclerviewFlexibledividerVersion = "1.2.6" recyclerviewFlexibledividerVersion = "1.2.6"
robotiumSoloVersion = "5.5.3" robotiumSoloVersion = "5.6.0"
rxAndroidVersion = "1.1.0" rxAndroidVersion = "1.2.1"
rxJavaVersion = "1.1.0" rxJavaVersion = "1.1.8"
rxJavaRulesVersion = "1.1.0.0" rxJavaRulesVersion = "1.1.8.0"
triangleLabelViewVersion = "1.1.0" triangleLabelViewVersion = "1.1.0"
audioPlayerVersion = "v1.0.16" audioPlayerVersion = "v1.0.16"
@ -68,7 +68,7 @@ project.ext {
} }
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {
gradleVersion = "2.11" gradleVersion = "2.14.1"
} }
// free build hack: common functions // free build hack: common functions

View File

@ -10,7 +10,7 @@ dependencies:
- ~/android - ~/android
pre: pre:
- echo y | android update sdk --no-ui --all --filter "tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23" - echo y | android update sdk --no-ui --all --filter "tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-23"
- echo y | android update sdk --no-ui --all --filter "build-tools-23.0.2" - echo y | android update sdk --no-ui --all --filter "build-tools-23.0.3"
override: override:
- echo override dependencies - echo override dependencies

Binary file not shown.

View File

@ -1,6 +1,6 @@
#Sat Feb 13 13:14:00 CET 2016 #Thu Aug 04 19:57:05 CEST 2016
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

46
gradlew vendored
View File

@ -6,12 +6,30 @@
## ##
############################################################################## ##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. # Attempt to set APP_HOME
DEFAULT_JVM_OPTS="" # Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle" APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"` APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum" MAX_FD="maximum"
@ -30,6 +48,7 @@ die ( ) {
cygwin=false cygwin=false
msys=false msys=false
darwin=false darwin=false
nonstop=false
case "`uname`" in case "`uname`" in
CYGWIN* ) CYGWIN* )
cygwin=true cygwin=true
@ -40,26 +59,11 @@ case "`uname`" in
MINGW* ) MINGW* )
msys=true msys=true
;; ;;
NONSTOP* )
nonstop=true
;;
esac esac
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM. # Determine the Java command to use to start the JVM.
@ -85,7 +89,7 @@ location of your Java installation."
fi fi
# Increase the maximum file descriptors if we can. # Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n` MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then

6
gradlew.bat vendored
View File

@ -8,14 +8,14 @@
@rem Set local scope for the variables with windows NT shell @rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0 set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=. if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0 set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME% set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe @rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome if defined JAVA_HOME goto findJavaFromJavaHome