Skip to content

Commit

Permalink
Merge pull request #23 from TuMoH/master
Browse files Browse the repository at this point in the history
fix duplicate attr "srcCompat" in support library >23.2.0
  • Loading branch information
ozodrukh committed Mar 30, 2016
2 parents 0069195 + ca5d028 commit 8bb990d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ apply plugin: 'com.android.library'
apply plugin: 'android-maven'

android {
compileSdkVersion 22
buildToolsVersion "21.1.2"
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
minSdkVersion 14
targetSdkVersion 22
targetSdkVersion 23
}
}

dependencies {
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:appcompat-v7:23.2.1'
}
2 changes: 0 additions & 2 deletions app/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

<!-- Background Drawable of View's -->
<attr name="backgroundCompat" format="reference" />
<!-- Drawable used to show image in ImageView. -->
<attr name="srcCompat" format="reference" />
<!-- Extra attribute for RippleDrawable, to add support of scroll containers -->
<attr name="isInScrollContainer" format="boolean" />

Expand Down
10 changes: 5 additions & 5 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 22
buildToolsVersion "21.1.2"
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "dreamers.sample"
minSdkVersion 14
targetSdkVersion 22
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
Expand All @@ -22,6 +22,6 @@ dependencies {
compile project(':app')
compile fileTree(dir: 'libs', include: ['*.jar'])

compile 'com.android.support:cardview-v7:22.1.1'
compile 'com.android.support:recyclerview-v7:22.1.1'
compile 'com.android.support:cardview-v7:23.2.1'
compile 'com.android.support:recyclerview-v7:23.2.1'
}

0 comments on commit 8bb990d

Please sign in to comment.