android-gradle-plugins
android-gradle-plugins copied to clipboard
Plugin with id 'io.freefair.android-checkstyle' not found
After upgrading the gradle and freefair gradle version getting below error
Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'io.freefair.android-checkstyle' not found.
this is my current gradle file
apply plugin: 'com.android.library'
apply plugin: 'io.freefair.android-checkstyle'
buildscript {
ext.checkstyle_version = '8.1.0'
repositories {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.3'
classpath "io.freefair.gradle:android-gradle-plugins:$checkstyle_version"
}
}
checkstyle {
toolVersion = "$checkstyle_version"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
previously I was using
ext.checkstyle_version = '4.2.0-m1'
Please suggest me what is wrong.
Any suggestion would be highly appreciated.