micronaut-gradle-plugin icon indicating copy to clipboard operation
micronaut-gradle-plugin copied to clipboard

Test bean definitions not generated with the new build system and kapt

Open l0co opened this issue 4 years ago • 1 comments

Im on 2.1.1 and the new build system with gradle plugins and not incremental kapt processing defined by:

    micronaut {
        processing {
            incremental false
    }

However, it seems it's still incremental (at least for tests), and because of micronaut-projects/micronaut-core#3742 beans definitions are not generated on rebuild.

Please see the attached video.

Kazam_screencast_00000-enc.mp4.zip

l0co avatar Oct 28 '20 12:10 l0co

Workarounded by forcefully setting kapt.incremental.apt=false in gradle.properties.

l0co avatar Oct 28 '20 12:10 l0co