From c2b99815d24b128ed67e94f7c482075323187a0a Mon Sep 17 00:00:00 2001 From: Chutaux Robin Date: Tue, 16 Sep 2014 10:02:00 +0200 Subject: [PATCH] [FUNC] Edit gradle files --- library/build.gradle | 3 ++- .../andexert/expandablelayout/library/ExpandableLayout.java | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/library/build.gradle b/library/build.gradle index f72b9de..eb766c2 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -21,5 +21,6 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.jakewharton:butterknife:5.1.2' } + +apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle' diff --git a/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java b/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java index ba9616b..b4260d6 100644 --- a/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java +++ b/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java @@ -33,8 +33,6 @@ import android.view.animation.Transformation; import android.widget.RelativeLayout; -import butterknife.ButterKnife; - public class ExpandableLayout extends RelativeLayout { private Boolean isAnimationRunning = false; @@ -65,7 +63,6 @@ private void init(final Context context, AttributeSet attrs) final TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.ExpandableLayout); final int headerID = typedArray.getResourceId(R.styleable.ExpandableLayout_headerLayout, -1); final int contentID = typedArray.getResourceId(R.styleable.ExpandableLayout_contentLayout, -1); - ButterKnife.inject(rootView); if (headerID == -1 || contentID == -1) throw new IllegalArgumentException("HeaderLayout and ContentLayout cannot be null!");