AndServer icon indicating copy to clipboard operation
AndServer copied to clipboard

Generating source files with random names messes up incremental builds

Open velitasali opened this issue 4 years ago • 1 comments

Hello,

First of all, thank you for this awesome library!

After adding it to my project, I realized my build times were taking a lot longer than usual and found out that it was because a file that constantly changes causes a full rebuild of the project.

Intellij IDEA's build analyzer shows which file it is in the screenshot below. Normally this build should take seconds to complete, however, after AndServer triggers a full build, it takes almost half a minute.

Screenshot from 2021-08-21 19-41-23

I have tried with and without the AndServer dependency and can confirm that build times return to normal without AndServer.

Please let me know if there is anything else I can provide!

Cheers.

velitasali avatar Aug 21 '21 16:08 velitasali

Hi again!

Giving that class a static name fixes the issue. Would love to hear your thoughts!

Screenshot from 2021-08-22 10-51-26

velitasali avatar Aug 22 '21 07:08 velitasali