*.gradle: remove ServiceLoader support