Skip to content

Commit

Permalink
chore(build): upgrade build toolchain to 28
Browse files Browse the repository at this point in the history
  • Loading branch information
simpleton committed Jun 12, 2018
1 parent 334f6f4 commit 916e352
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion "26.0.2"
buildToolsVersion "28.0.0"
defaultConfig {
applicationId "me.weishu.freereflection.app"
minSdkVersion 15
Expand All @@ -22,8 +22,8 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(":library")
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support.constraint:constraint-layout:1.1.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(":library")
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.1'
}
14 changes: 4 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ buildscript {
repositories {
mavenLocal()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.novoda:bintray-release:0.3.4'
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.novoda:bintray-release:0.8.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -23,10 +20,7 @@ allprojects {
repositories {
mavenLocal()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
tasks.withType(Javadoc) {
enabled = false
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
9 changes: 4 additions & 5 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 28

buildToolsVersion "26.0.2"
buildToolsVersion "28.0.0"
defaultConfig {
minSdkVersion 15
targetSdkVersion 26
targetSdkVersion 28
versionCode 1
versionName "1.0"

Expand Down Expand Up @@ -42,9 +41,9 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])

compile 'junit:junit:4.12'
androidTestImplementation 'junit:junit:4.12'
}

apply plugin: 'com.novoda.bintray-release'
Expand Down

0 comments on commit 916e352

Please sign in to comment.