changed app to run by gradle.