Я настраиваю Плагин SpotBugs для проекта Gradle в первый раз.
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.6'
}
}
apply plugin: 'com.github.spotbugs'
При запуске gradle check
Я получаю ошибку Plugin with id 'com.github.spotbugs' not found.
Что я делаюне так?
Gradle версия 5.0.