Add smartscan-mode to groovy/gradle files