Skip to content

Instantly share code, notes, and snippets.

Last active Oct 31, 2018
What would you like to do?
Fixes problems with Idea+Gradle+Dagger combo then you can't see generated symbols
def generatedMain = new File(buildDir, "generated/main")
compileJava {
doFirst {
options.compilerArgs += ['-s', generatedMain]
idea {
module {
sourceDirs += generatedMain
Copy link

dant3 commented Oct 19, 2018

to use just add:

apply from: 'dagger.gradle'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment