Skip to content

Instantly share code, notes, and snippets.

@William-ST
Created September 19, 2016 04:47
Show Gist options
  • Save William-ST/b44bf0f334005f72dd58965fd40b7548 to your computer and use it in GitHub Desktop.
Save William-ST/b44bf0f334005f72dd58965fd40b7548 to your computer and use it in GitHub Desktop.
build.gradle (app)
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
compile 'com.jakewharton:butterknife:8.0.1'
apt 'com.jakewharton:butterknife-compiler:8.0.1'
build.gradle (project)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment