build.gradle - Could not find method copyDeps() for arguments
问题 Below is the build.gradle file: plugins({ id('application') id 'java' id('com.github.johnrengelman.shadow').version('4.0.1') }) allprojects( { apply(plugin: 'application') apply(plugin: 'java') apply(plugin: 'com.github.johnrengelman.shadow') repositories({ mavenCentral() }) ext({ vertxVersion = '3.7.0' commitTimestamp = { return "git log -1 --pretty=format:%cd --date=format:%Y%m%d%H%M%S".execute().text.trim() } commitId = { return "git rev-parse --short HEAD".execute().text.trim() } buildId