Skip to content

Commit

Permalink
update Studio to 3.0 up
Browse files Browse the repository at this point in the history
Change-Id: Id44c0118016998c29d823dd4335071b90aed4155
  • Loading branch information
LwkCoder committed Jan 18, 2018
1 parent 817c57b commit 361a6c9
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
8 changes: 4 additions & 4 deletions ImagePicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'com.jfrog.bintray'

android {
compileSdkVersion COMPILE_SDK_VERSION as int
buildToolsVersion BUILD_TOOLS_VERSION
// buildToolsVersion BUILD_TOOLS_VERSION

defaultConfig {
minSdkVersion MIN_SDK_VERSION as int
Expand All @@ -24,11 +24,11 @@ android {
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile("com.github.bumptech.glide:glide:${LIB_GLIDE_VERSION}") {
implementation fileTree(include: ['*.jar'], dir: 'libs')
api("com.github.bumptech.glide:glide:${LIB_GLIDE_VERSION}") {
exclude(group: 'com.google.android', module: 'support-v4')
}
compile "com.android.support:support-v4:${LIB_ANDROID_SUPPORT_VERSION}"
api "com.android.support:support-v4:${LIB_ANDROID_SUPPORT_VERSION}"
}

allprojects {
Expand Down
8 changes: 4 additions & 4 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 COMPILE_SDK_VERSION as int
buildToolsVersion BUILD_TOOLS_VERSION
// buildToolsVersion BUILD_TOOLS_VERSION

defaultConfig {
applicationId APPLICATION_ID
Expand All @@ -20,7 +20,7 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:appcompat-v7:${LIB_ANDROID_SUPPORT_VERSION}"
compile project(':ImagePicker')
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.support:appcompat-v7:${LIB_ANDROID_SUPPORT_VERSION}"
implementation project(':ImagePicker')
}
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@

buildscript {
repositories {
mavenCentral()
jcenter()
google()

maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'

Expand All @@ -16,9 +23,13 @@ buildscript {

allprojects {
repositories {
mavenCentral()
jcenter()
google()

maven {
url "https://maven.google.com"
url 'https://maven.google.com/'
name 'Google'
}
}
}
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-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 comments on commit 361a6c9

Please sign in to comment.