Renovate failed to look up dev.flutter.flutter-plugin-loader with declarative style for applying android plugins #30767
-
What would you like help with?I think I found a bug How are you running Renovate?Mend Renovate hosted app on github.com Please tell us more about your question or problemSince flutter 3.16.0 we can use the declarative style for applying plugins in the Warning Renovate failed to look up the following dependencies: Files affected: It seems like that Steps to Reproduce
You can also fork this minimal example. Here is an example of the pluginManagement {
def flutterSdkPath = {
def properties = new Properties()
file("local.properties").withInputStream { properties.load(it) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}()
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}
include ":app" Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
If there's new functionality of an ecosystem that you'd like Renovate to support then please create a reproduction repository then "suggest an idea". |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Hi there, A maintainer reviewed the information, and decided that this is not a bug. To avoid confusing others, we will close this Discussion. Please keep reading as there is good news too! The good news is that the maintainer likes your idea, in general. Please create a new Suggest an Idea Discussion. Feel free to copy/paste what you need from this Discussion. Please focus on the feature request: explain what Renovate should do, and how Renovate can know when/what to do. We may convert that Discussion to an Issue when it is ready. Note that you will still have to wait for a maintainer, or someone else, to do the work needed for your feature. Why are we closing your Discussion? For us, bug reports are about things that are not working as intended, or things that are not working as described in the docs. What you found may be bad behavior, but we do not think it is a bug. For more details, please read our development docs about bug handling. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Seems to me that If |
Beta Was this translation helpful? Give feedback.
Seems to me that
dev.flutter.flutter-plugin-loader
is no longer hosted onplugins.gradle.org
but part of the flutter SDK, which you reference in alocal.properties
file by the keyflutter.sdk
. renovate won't have access to this file, nor will it be able to crawl it to see if updates are available.If
version "1.0.0"
remains unchanged across SDK updates, you could just drop it and specify no version. Or if this won't work, make a package rule that disables updates for the fluttter's gradle plugin as a whole.