update gradle to 1.11
core: simplify conditions
fix code style issues
core: fix indent for anonymous class
core: fix synchronized block processing