diff --git a/.travis.yml b/.travis.yml index 690c5bd..0ecb446 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: android -jdk: oraclejdk7 +jdk: + - oraclejdk8 android: components: diff --git a/build.gradle b/build.gradle index 08e9947..4320ccc 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,10 @@ buildscript { repositories { mavenCentral() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.3' + classpath 'com.android.tools.build:gradle:3.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -18,6 +19,7 @@ allprojects { repositories { mavenCentral() + google() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 513255c..12e198a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Nov 27 14:28:16 IST 2016 +#Wed Dec 19 17:42:19 JST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip diff --git a/saripaar-tests/build.gradle b/saripaar-tests/build.gradle index 043be5f..129071e 100644 --- a/saripaar-tests/build.gradle +++ b/saripaar-tests/build.gradle @@ -2,12 +2,12 @@ apply plugin: 'com.android.application' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) - buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION + buildToolsVersion '28.0.3' defaultConfig { applicationId "com.mobsandgeeks.saripaar.tests" minSdkVersion 14 - targetSdkVersion 25 + targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/saripaar/build.gradle b/saripaar/build.gradle index a0f07ab..56208fe 100644 --- a/saripaar/build.gradle +++ b/saripaar/build.gradle @@ -5,14 +5,14 @@ apply from: '../config/quality.gradle' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) - buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION + buildToolsVersion '28.0.3' lintOptions { abortOnError false } defaultConfig { minSdkVersion 8 - targetSdkVersion 25 + targetSdkVersion 26 } compileOptions { sourceCompatibility JavaVersion.VERSION_1_6