Improve side effect detection
Migrate to gradle