changed build.gradle, smarter precomputation