Skip to content

Instantly share code, notes, and snippets.

@samkirton
Created June 8, 2017 12:54
Annotation preprocessor in test package
android.applicationVariants.all {
def aptOutputDir = new File(buildDir, "generated/source/apt/${it.unitTestVariant.dirName}")
it.unitTestVariant.addJavaSourceFoldersToModel(aptOutputDir)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment