# How to set warning level when compiling

**URL:** https://discourse.processing.org/t/how-to-set-warning-level-when-compiling/40212
**Category:** Processing for Android
**Created:** [December 19, 2022, 4:43pm UTC](https://discourse.processing.org/t/how-to-set-warning-level-when-compiling/40212 "2022-12-19T16:43:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![David](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/david/32/8853_2.png) [@David](https://discourse.processing.org/u/David)
#### Post date: [December 19, 2022, 4:43pm UTC](https://discourse.processing.org/t/how-to-set-warning-level-when-compiling/40212/1 "2022-12-19T16:43:40Z")

</div>

I’m getting a warning message on my sketch, but it doesn’t say what line is getting the warning (!).

```auto
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.

```

Is there a setting in preferences.txt I can use to set ‘–warning-mode’ to ‘all’?

Thanks.
