diff --git a/build.gradle b/build.gradle index 28b37cb..5eb275f 100755 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,10 @@ buildscript { repositories { jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.0' + classpath 'com.android.tools.build:gradle:3.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ff74751..43de7b7 100755 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Apr 11 11:06:38 EEST 2016 +#Sun Jun 10 21:28:47 EEST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip diff --git a/library/build.gradle b/library/build.gradle index 5493a7b..7f4ad20 100755 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,30 +1,29 @@ -apply plugin: 'com.android.library' - -android { - compileSdkVersion 23 - buildToolsVersion "23.0.3" - - defaultConfig { - minSdkVersion 14 - targetSdkVersion 23 - versionCode Integer.parseInt(project.VERSION_CODE) - versionName project.VERSION_NAME - } - buildTypes { - release { - minifyEnabled false - debuggable false - } - - debug { - minifyEnabled false - debuggable true - } - } -} - -dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) -} - -apply from: '../gradle-mvn-push.gradle' +apply plugin: 'com.android.library' + +android { + compileSdkVersion 27 + + defaultConfig { + minSdkVersion 14 + targetSdkVersion 27 + versionCode Integer.parseInt(project.VERSION_CODE) + versionName project.VERSION_NAME + } + buildTypes { + release { + minifyEnabled false + debuggable false + } + + debug { + minifyEnabled false + debuggable true + } + } +} + +dependencies { + implementation fileTree(dir: 'libs', include: ['*.jar']) +} + +apply from: '../gradle-mvn-push.gradle' diff --git a/sample/build.gradle b/sample/build.gradle index 0ed7dcc..bf6c4a6 100755 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,13 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 27 defaultConfig { applicationId "com.github.fab.sample" minSdkVersion 14 - targetSdkVersion 23 + targetSdkVersion 27 versionCode Integer.parseInt(project.VERSION_CODE) versionName project.VERSION_NAME } @@ -27,9 +26,9 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.3.0' - compile 'com.android.support:recyclerview-v7:23.3.0' - compile 'com.android.support:design:23.3.0' - compile project(':library') + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'com.android.support:recyclerview-v7:27.1.1' + implementation 'com.android.support:design:27.1.1' + implementation project(':library') }