Update gradle plugin
Fix dim logic - again