Skip to content

Commit

Permalink
tweak build
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-caryl committed Mar 20, 2017
1 parent ab57dcf commit 5fe88d2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ allprojects {
}
}

ext {
compileSdkVersion = 25
buildToolsVersion = '25.0.2'
minSdkVersion = 15
targetSdkVersion = compileSdkVersion

supportLibVersion = '25.3.0'
}

task clean(type: Delete) {
delete rootProject.buildDir
}
10 changes: 5 additions & 5 deletions switchicon-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ apply plugin: 'com.android.application'

dependencies {
compile project(":switchicon")
compile 'com.android.support:appcompat-v7:25.3.0'
compile "com.android.support:appcompat-v7:$supportLibVersion"
}

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.github.zagum.switchicon.sample"
minSdkVersion 15
targetSdkVersion 25
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"

Expand Down
8 changes: 4 additions & 4 deletions switchicon/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.library'

dependencies {
compile 'com.android.support:appcompat-v7:25.3.0'
compile "com.android.support:appcompat-v7:$supportLibVersion"
}

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
minSdkVersion 15
minSdkVersion rootProject.ext.minSdkVersion
}
}

0 comments on commit 5fe88d2

Please sign in to comment.