diff --git a/build.gradle b/build.gradle index d496f16..b9cdf98 100755 --- a/build.gradle +++ b/build.gradle @@ -2,11 +2,11 @@ buildscript { repositories { - jcenter() google() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.3' + classpath 'com.android.tools.build:gradle:3.1.4' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -18,6 +18,7 @@ buildscript { allprojects { repositories { + google() jcenter() } } diff --git a/sample/build.gradle b/sample/build.gradle index 44776f9..2644a39 100755 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 - buildToolsVersion "25.0.3" + compileSdkVersion 27 + buildToolsVersion "27.0.3" defaultConfig { applicationId "com.techyourchance.threadposters" - minSdkVersion 15 - targetSdkVersion 25 + minSdkVersion 16 + targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -20,11 +20,11 @@ android { } dependencies { - compile project(path: ':threadposter') - compile fileTree(dir: 'libs', include: ['*.jar']) + implementation project(path: ':threadposter') + implementation fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:25.3.1' + implementation 'com.android.support:appcompat-v7:27.1.1' - testCompile 'junit:junit:4.12' - testCompile "org.mockito:mockito-core:2.10.0" + testImplementation 'junit:junit:4.12' + testImplementation "org.mockito:mockito-core:2.12.0" } diff --git a/threadposter/build.gradle b/threadposter/build.gradle index de6ece3..909a118 100755 --- a/threadposter/build.gradle +++ b/threadposter/build.gradle @@ -29,12 +29,12 @@ ext { } android { - compileSdkVersion 25 - buildToolsVersion "25.0.3" + compileSdkVersion 27 + buildToolsVersion "27.0.3" defaultConfig { - minSdkVersion 9 - targetSdkVersion 25 + minSdkVersion 16 + targetSdkVersion 27 versionCode 1 versionName "0.7.0" } @@ -47,9 +47,9 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - testCompile "org.mockito:mockito-core:2.10.0" + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + testImplementation "org.mockito:mockito-core:2.12.0" } //Add these lines to publish library to bintray. This is the readymade scripts made by github user nuuneoi to make uploading to bintray easy.