diff --git a/build.gradle b/build.gradle index eab564b..02b5139 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:1.0.1' + classpath 'com.android.tools.build:gradle:1.1.0' } } diff --git a/roundedimageview/build.gradle b/roundedimageview/build.gradle index a11c518..a2183e6 100644 --- a/roundedimageview/build.gradle +++ b/roundedimageview/build.gradle @@ -23,7 +23,7 @@ android { } dependencies { - provided 'com.squareup.picasso:picasso:2.3.4' + provided 'com.squareup.picasso:picasso:2.5.0' } task androidJavadocs(type: Javadoc) { diff --git a/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java b/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java index 825b0b7..37e62f9 100644 --- a/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java +++ b/roundedimageview/src/main/java/com/makeramen/roundedimageview/RoundedImageView.java @@ -326,7 +326,7 @@ public float getCornerRadius() { return cornerRadius; } - public void setCornerRadius(int resId) { + public void setCornerRadiusDimen(int resId) { setCornerRadius(getResources().getDimension(resId)); }