Created
February 6, 2015 01:36
-
-
Save glombard/240cf623790ac83349fc to your computer and use it in GitHub Desktop.
How to apply android-apt plugin from a shared gradle file using the fully qualified class name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:1.0.1' | |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' | |
} | |
} | |
apply plugin: com.neenbedankt.gradle.androidapt.AndroidAptPlugin | |
dependencies { | |
compile 'com.squareup.dagger:dagger:1.2.2' | |
apt 'com.squareup.dagger:dagger-compiler:1.2.2' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment