rhttp
rhttp copied to clipboard
rhttp 0.11.1 fails to compile: getTargetPlatforms() error
Hi there,
while compiling my flutter project [ndk 27, 29 tested] rhttp failed to compile with given error
[ +4 ms] FAILURE: Build failed with an exception.
[ +12 ms] * Where:
[ ] Script
'/home/semp/.pub-cache/hosted/pub.dev/rhttp-0.11.1/cargokit/gradle/plugin.gradle' line: 135
[ ] * What went wrong:
[ ] A problem occurred evaluating script.
[ ] > Failed to apply plugin class 'CargoKitPlugin'.
[ ] > No signature of method: FlutterPlugin.getTargetPlatforms() is applicable for
argument types: () values: []
[ +1 ms] * Try:
[ +7 ms] > Run with --debug option to get more log output.
[ ] > Run with --scan to get full insights.
[ ] > Get more help at https://help.gradle.org.
[ ] * Exception is:
[ ] org.gradle.api.GradleScriptException: A problem occurred evaluating script.
[ ] at
org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultSc
riptRunnerFactory.java:93)
[ ] at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$1(DefaultS
criptPluginFactory.java:141)
[ ] at
I'm using latest version of flutter [main branch version] and I have no clue if I've messed up anything? I simply used pub add rhttp and ran flutter run -v
Happy to provide more logs or details if needed. Thanks for maintaining rhttp!