From fe750880ddfe485515f9430de64777ddd07c31ca Mon Sep 17 00:00:00 2001 From: Leo Wandersleb Date: Fri, 29 Jan 2016 15:13:12 -0300 Subject: [PATCH] Made the how-to more plug-and-play As I struggled far too long with what universal knowledge I might be missing when not knowing what to do with "A SNAPSHOT is available in the Sonatype snapshot repo.", I decided to share my findings, where I had hoped to find them in the first place. --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f82169..efe018d 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,22 @@ Download Currently not available via Maven Central. A SNAPSHOT is available in the Sonatype snapshot repo. + ```groovy -compile 'com.jakewharton:kotterknife:0.1.0-SNAPSHOT' + +dependencies { + ... + compile 'com.jakewharton:kotterknife:0.1.0-SNAPSHOT' + .... +} + +repositories { + ... + maven { + url 'https://oss.sonatype.org/content/repositories/snapshots/' + } + .... +} ``` You can also copy `ButterKnife.kt` into your source tree. The file depends on the 'support-v4' and