The compile configuration has been deprecated for a while, and then eventually removed. See Upgrading your build from Gradle 6.x to the latest.
The compile configuration has been deprecated for a while, and then eventually removed. See Upgrading your build from Gradle 6.x to the latest.