didi / booster

🚀Optimizer for mobile applications
https://booster.johnsonlee.io
Apache License 2.0
4.83k stars 575 forks source link

./gradlew compressDebugResourcesWithCwebp --info 不起作用 #445

Open 08carmelo opened 6 months ago

08carmelo commented 6 months ago

Please provide the following informations. 问题描述: 执行 ./gradlew compressDebugResourcesWithCwebp --info,生成了report.txt 但里面的内容是

TOTAL 0

Task :app:installDebugCwebp UP-TO-DATE Skipping task ':app:installDebugCwebp' as it has no actions. :app:installDebugCwebp (Thread[Execution worker for ':' Thread 9,5,main]) completed. Took 0.0 secs. :app:compressDebugResourcesWithCwebp (Thread[Execution worker for ':' Thread 9,5,main]) started.

Task :app:compressDebugResourcesWithCwebp Execution optimizations have been disabled for task ':app:compressDebugResourcesWithCwebp' to ensure correctness due to the following reasons:

  • Additional action of task ':app:compressDebugResourcesWithCwebp' was implemented by the Java lambda 'com.didiglobal.booster.task.compression.cwebp.CwebpCompressionVariantProcessor$$Lambda$2116/0x0000000801e20440'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implementation_unknown for more details about this problem. Invalidating VFS because task ':app:compressDebugResourcesWithCwebp' failed validation Not watching anything anymore Watching 0 directory hierarchies to track changes Caching disabled for task ':app:compressDebugResourcesWithCwebp' because: Caching has been disabled to ensure correctness. Please consult deprecation warnings for more details. Task ':app:compressDebugResourcesWithCwebp' is not up-to-date because: Incremental execution has been disabled to ensure correctness. Please consult deprecation warnings for more details. Watching 1 directory hierarchies to track changes :app:compressDebugResourcesWithCwebp (Thread[Execution worker for ':' Thread 9,5,main]) completed. Took 0.012 secs.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness. Please consult deprecation warnings for more details.

BUILD SUCCESSFUL in 4s 101 actionable tasks: 1 executed, 100 up-to-date

08carmelo commented 6 months ago

请确认此处是否兼容 AGP 7.1.3

mmexport1702458634677 mmexport1702458634677