Skip to content

Commit

Permalink
Upgrade SDK and gradle script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankery Chen committed Jun 21, 2018
1 parent d90fdc8 commit 4dc7d89
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ android {

defaultConfig {
applicationId "me.tankery.app.circularseekbar"
minSdkVersion 10
targetSdkVersion 26
minSdkVersion 15
targetSdkVersion 28
versionCode getTagCount()
versionName getLatestTaggedVersion()
}
Expand All @@ -33,6 +33,6 @@ android {
}

dependencies {
compile project(':circularSeekBar')
compile "com.android.support:support-annotations:${rootProject.supportLibVersion}"
implementation project(':circularSeekBar')
implementation "com.android.support:support-annotations:${rootProject.supportLibVersion}"
}
15 changes: 8 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
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.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -17,13 +18,13 @@ buildscript {
allprojects {
repositories {
jcenter()
maven { url "https://maven.google.com" }
google()
}
}

ext {
compileSdkVersion = 26
buildToolsVersion = "26.0.1"
compileSdkVersion = 27
buildToolsVersion = "27.0.3"

supportLibVersion = "26.0.0"
supportLibVersion = "27.1.1"
}
4 changes: 1 addition & 3 deletions circularSeekBar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ android {

defaultConfig {
minSdkVersion 10
targetSdkVersion 26
versionCode 5
targetSdkVersion 28
versionName version
}
buildTypes {
Expand All @@ -41,7 +40,6 @@ android {
}

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

def siteUrl = 'https://github.com/tankery/CircularSeekBar'
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Aug 11 12:47:04 CST 2017
#Thu Jun 21 08:09:27 CST 2018
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.8-all.zip

0 comments on commit 4dc7d89

Please sign in to comment.