Skip to content

Commit

Permalink
sdk downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tiroman committed Nov 2, 2017
1 parent 9645a03 commit 8b06240
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:2.3.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
10 changes: 3 additions & 7 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion '26.0.2'
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
minSdkVersion 14
targetSdkVersion 23
targetSdkVersion 25
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
}
Expand All @@ -23,8 +23,4 @@ android {
}
}

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

apply from: '../gradle-mvn-push.gradle'
15 changes: 8 additions & 7 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion '26.0.2'
compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
applicationId "com.github.fab.sample"
minSdkVersion 14
targetSdkVersion 23
targetSdkVersion 25
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
}
Expand All @@ -26,10 +26,11 @@ android {
}
}

def support = '25.3.1'

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile "com.android.support:appcompat-v7:$support"
compile "com.android.support:recyclerview-v7:$support"
compile "com.android.support:design:$support"
compile project(':library')
}

0 comments on commit 8b06240

Please sign in to comment.