Native build now failing - Deprecated Gradle features were used in this build.

1
Hi all from today I’m unable to perform a build of my native app and get the below errors the main one i see is Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Anyone else had this issue. Was building fine last week. 2022-05-10T12:50:03.2190690Z FAILURE: Build failed with an exception. 2022-05-10T12:50:03.2190880Z 2022-05-10T12:50:03.2193380Z * What went wrong: 2022-05-10T12:50:03.2195210Z Could not determine the dependencies of task ':app:dataBindingMergeDependencyArtifactsAppstoreDebug'. 2022-05-10T12:50:03.2196340Z > Could not resolve all task dependencies for configuration ':app:appstoreDebugRuntimeClasspath'. 2022-05-10T12:50:03.2197330Z > Could not resolve net.minidev:json-smart:[1.3.1,2.3]. 2022-05-10T12:50:03.2197770Z Required by: 2022-05-10T12:50:03.2198660Z project :app > project :react-native-code-push > com.nimbusds:nimbus-jose-jwt:5.1 2022-05-10T12:50:03.2199610Z > Failed to list versions for net.minidev:json-smart. 2022-05-10T12:50:03.2200590Z > Unable to load Maven meta-data from https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml. 2022-05-10T12:50:03.2201630Z > Could not get resource 'https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml'. 2022-05-10T12:50:03.2203040Z > Could not GET 'https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml'. 2022-05-10T12:50:03.2203620Z > org.apache.http.client.ClientProtocolException (no error message) 2022-05-10T12:50:03.2204150Z 2022-05-10T12:50:03.2204770Z * Try: 2022-05-10T12:50:03.2206340Z Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. 2022-05-10T12:50:03.2206730Z 2022-05-10T12:50:03.2207080Z * Get more help at https://help.gradle.org 2022-05-10T12:50:03.2207260Z 2022-05-10T12:50:03.2207520Z BUILD FAILED in 3m 5s 2022-05-10T12:50:03.2207670Z 2022-05-10T12:50:03.2208070Z Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. 2022-05-10T12:50:03.2209010Z Use '--warning-mode all' to show the individual deprecation warnings. 2022-05-10T12:50:03.2210220Z See https://docs.gradle.org/6.5/***guide/command_line_interface.html#sec:command_line_warnings 2022-05-10T12:50:05.4261120Z Error: /Users/runner/work/1/s/android/gradlew failed with return code: 1 2022-05-10T12:50:05.4263040Z at ChildProcess.<anonymous> (/Users/runner/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/1.128.0/node_modules/vsts-task-lib/toolrunner.js:569:30) 2022-05-10T12:50:05.4263860Z at emitTwo (events.js:106:13) 2022-05-10T12:50:05.4264290Z at ChildProcess.emit (events.js:191:7) 2022-05-10T12:50:05.4264750Z at maybeClose (internal/child_process.js:920:16) 2022-05-10T12:50:05.4265210Z at Socket.<anonymous> (internal/child_process.js:351:11) 2022-05-10T12:50:05.4265650Z at emitOne (events.js:96:13) 2022-05-10T12:50:05.4266030Z at Socket.emit (events.js:188:7) 2022-05-10T12:50:05.4266480Z at Pipe._handle.close [as _onclose] (net.js:509:12) 2022-05-10T12:50:05.4331540Z ##[error]Error: /Users/runner/work/1/s/android/gradlew failed with return code: 1 2022-05-10T12:50:05.4349140Z ##[section]Finishing: Gradle Task 2022-05-10T12:50:05.5855420Z ##[section]Starting: Checkout incabtech@master to s 2022-05-10T12:50:05.5862060Z ============================================================================== 2022-05-10T12:50:05.5862410Z Task : Get sources 2022-05-10T12:50:05.5862760Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2022-05-10T12:50:05.5863090Z Version : 1.0.0 2022-05-10T12:50:05.5863300Z Author : Microsoft 2022-05-10T12:50:05.5863640Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2022-05-10T12:50:05.5864350Z ============================================================================== 2022-05-10T12:50:06.0104350Z Cleaning any cached credential from repository: incabtech (ExternalGit) 2022-05-10T12:50:06.0258600Z ##[section]Finishing: Checkout incabtech@master to s 2022-05-10T12:50:06.0740840Z ##[section]Starting: Finalize Job 2022-05-10T12:50:06.0779890Z Cleaning up task key 2022-05-10T12:50:06.0783380Z Start cleaning up orphan processes. 2022-05-10T12:50:06.2111780Z Terminate orphan process: pid (4784) (java) 2022-05-10T12:50:06.2221110Z ##[section]Finishing: Finalize Job 2022-05-10T12:50:06.2718630Z ##[section]Finishing: Build  
asked
1 answers
1

It's a known issue. Mendix is working on releasing a new Native template, so keep a look out for that.

https://status.mendix.com/

answered