Skip to content

Commit

Permalink
Upgrade android plugin for gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
YanZhenjie committed May 15, 2018
1 parent 09c5ca4 commit eb29011
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 2 additions & 3 deletions andserver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', includes: ['*.jar'])
compile rootProject.ext.dependencies.httpcore
compile rootProject.ext.dependencies.fileupload
implementation rootProject.ext.dependencies.httpcore
implementation rootProject.ext.dependencies.fileupload
}

apply from: 'https://raw.githubusercontent.com/yanzhenjie/bintray/master/maven.gradle'
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ buildscript {

repositories {
jcenter()
google()
}

dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}

allprojects {
repositories {
jcenter()
google()
}
}

Expand Down
8 changes: 4 additions & 4 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
}

dependencies {
compile rootProject.ext.dependencies.andserver
compile rootProject.ext.dependencies.design
compile rootProject.ext.dependencies.appCompat
compile rootProject.ext.dependencies.loading
implementation rootProject.ext.dependencies.andserver
implementation rootProject.ext.dependencies.design
implementation rootProject.ext.dependencies.appCompat
implementation rootProject.ext.dependencies.loading
}

0 comments on commit eb29011

Please sign in to comment.