Skip to content

Commit

Permalink
Updating target and minimum sdk versions and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
techyourchance committed Aug 12, 2018
1 parent fcd18f8 commit 82c664b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,6 +18,7 @@ buildscript {

allprojects {
repositories {
google()
jcenter()
}
}
Expand Down
18 changes: 9 additions & 9 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
}
14 changes: 7 additions & 7 deletions threadposter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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.
Expand Down

0 comments on commit 82c664b

Please sign in to comment.