# React Native Gradle deprecated features

**URL:** <https://discuss.gradle.org/t/react-native-gradle-deprecated-features/36021>\
**Category:** Help/Discuss\
**Created:** [May 9, 2020, 1:05am UTC](https://discuss.gradle.org/t/react-native-gradle-deprecated-features/36021 "2020-05-09T01:05:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucraSouls](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@LucraSouls](https://discuss.gradle.org/u/LucraSouls)\
**Post date:** [May 9, 2020, 1:05am UTC](https://discuss.gradle.org/t/react-native-gradle-deprecated-features/36021/1 "2020-05-09T01:05:30Z")

</div>

When I start a project in React Native I get:  
`Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings`

(I started to get this suddenly and, with this, all old and new RN projects stopped opening. I tried to reinstall RN environment, but still got this. Now I think the problem is with gradle, because that is the only error message I get.)

So I looked for ran `gradle help --scan` to look for the deprecated stuff and got:  
`Executing Gradle tasks as part of an undefined build has been deprecated.   
This will fail with an error in Gradle 7.0.   
1 usage

Unknown:  
DeprecateUndefinedBuildWorkExecutor.java:37  
at org.gradle.execution.DeprecateUndefinedBuildWorkExecutor.execute(DeprecateUndefinedBuildWorkExecutor.java:37)  
•••`

Now I don’t know how to solve this, “undeprecate” it. Please help. I’ve been trying to solve this for almost a whole month and I just can’t use React Native and I need to deliver a project
