<https://github.com/JakeWharton/SdkSearch/commit/d...
# android
s
@jw If I am using dagger on kotlin files,
Copy code
kapt {
    
    arguments {
        arg("dagger.formatGeneratedSource", "disabled")
}
Is this enough ?
k
Hi @jw, I was wondering if setting this option once from the annotation processor options in the
android.defaultConfig
block will be sufficient. Something like this:
Copy code
javaCompileOptions {
            annotationProcessorOptions {
                arguments = [
                        "dagger.formatGeneratedSource": "disabled"
                ]
            }
        }
With this option, do I still need to do it explicitly for both kapt and javac? Thanks.