sergei-lapin / napt

Alternative to KAPT that skips Java stub generation and therefore is as efficient as Java APT but with Kotlin
MIT License
88 stars 6 forks source link

Files are not generating with custom buildDir #18

Open bacecek opened 1 year ago

bacecek commented 1 year ago

Hi!

When I'm trying to change buildDir for all projects in root build.gradle like this:

allprojects {
    buildDir = file("${System.getenv("HOME")}/gradleBuild/build/${rootProject.name}/${project.name}")
}

and build the project, but no files are generated by APT. But when I removed it, all is ok.

Sample project to reproduce: https://github.com/bacecek/sample-checking-assistant-role/tree/napt/custom_buildDir.

I'm sure that issue was started reproducing after this change: #14.