It is possible that there is a way to make your plugins work. Given your mistake, I will start by using the ButterKnife project, earn it, and then see if there is a recipe for what you are trying.
First, in the top-level build.gradle include the classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' in the buildscript dependencies , for example:
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:2.0.0' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } }
Then, in your build.gradle module file, include the apply plugin: 'com.neenbedankt.android-apt' at the beginning.
The links refer to the corresponding files from the ButterKnife GitHub repository, from the project and a special example application.
CommonsWare Apr 26 '16 at 22:03 2016-04-26 22:03
source share