https://kotlinlang.org logo
#dagger
Title
# dagger
d

darkmoon_uk

10/30/2018, 8:48 PM
If you use Dagger with Kotlin, please upvote the addition of 'Incremental Annotation Processing' to
kapt
, lack of which is currently preventing Kotlin projects benefiting from the latest incremental features in both Gradle and Dagger2: https://youtrack.jetbrains.com/issue/KT-23880
1
s

Sangeet

10/31/2018, 9:21 AM
@darkmoon_uk Then why they are adding
Copy code
afterEvaluate {
        extensions.findByName('kapt')?.arguments {
            arg("dagger.gradle.incremental", "enabled")
        }
    }
d

darkmoon_uk

10/31/2018, 10:53 AM
Who is 'they'? I would expect the code fragment you've presented to have no effect: It is known that
kapt
does not currently support incremental Annotation Processing.
7 Views