Skip to content

Commit

Permalink
Merge pull request #184 from gradle/no/update-readme
Browse files Browse the repository at this point in the history
Use AndroidBasePlugin instead of deprecated BasePlugin.
  • Loading branch information
ghale authored Aug 20, 2021
2 parents 0b1fae8 + 5340b79 commit cc44931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ plugins {
}
subprojects {
plugins.withType(com.android.build.gradle.BasePlugin) {
plugins.withType(com.android.build.gradle.api.AndroidBasePlugin) {
project.apply plugin: "org.gradle.android.cache-fix"
}
}
Expand All @@ -52,7 +52,7 @@ plugins {
}

subprojects {
plugins.withType<com.android.build.gradle.BasePlugin>() {
plugins.withType<com.android.build.gradle.api.AndroidBasePlugin>() {
apply(plugin = "org.gradle.android.cache-fix")
}
}
Expand Down

0 comments on commit cc44931

Please sign in to comment.