deprecated `groovy` configuration

- log deprecation warning whenever a dependency is added to the configuration
- eliminated use of `groovy` configuration from all tests and samples
- adapted default build script for buildSrc