Open Venkat-juju opened 1 year ago
Same issue here..
Same
I don't believe the plugin is currently published to the Gradle plugin repository.
You can work around this in the meantime by adding the following to your settings.gradle.kts
file (apologies, I don't have a groovy version on hand)
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
// Manual resolution for plugins that have not yet been published to the gradle plugin portal
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"shot" -> useModule(
"com.karumi:shot:${requested.version}"
)
}
}
}
}
Expected behaviour
Plugin should be downloaded, sync & build successfully
Actual behaviour
Getting plugin not found exception while sync
Steps to reproduce
I'm getting Plugin not found exception with the new method of applying plugins while gradle sync:
Issue![image](https://user-images.githubusercontent.com/56682888/236877885-b6c5ab56-9c87-4d79-af72-6ca4c58aa1d3.png)
my settings.gradle file:
my module level build.gradle file:
I'm not sure if this is the issue with my configuration or plugin side issue. but it works fine for other plugins. Kindly help!
Version of the library
5.14.1