-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle 8 #1093
Labels
Projects
Milestone
Comments
Welcome to Gradle 8.0-milestone-3!
For more details see https://docs.gradle.org/8.0-milestone-3/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :react-native-gradle-plugin:compileKotlin
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (10, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (119, 30): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (135, 26): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (157, 32): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (163, 31): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt: (171, 36): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt: (114, 48): 'reactRoot: DirectoryProperty' is deprecated. reactRoot was confusing and has been replace with root to point to your root project and reactNativeDir to point to the folder of the react-native NPM package
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (10, 37): 'ApplicationVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (11, 37): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (12, 37): 'LibraryVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (27, 51): 'BaseVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (130, 12): 'ApplicationVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (131, 12): 'LibraryVariant' is deprecated. Deprecated in Java
w: /Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (251, 14): 'BaseVariant' is deprecated. Deprecated in Java
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.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/8.0-milestone-3/userguide/command_line_interface.html#sec:command_line_warnings
5 actionable tasks: 5 executed
FAILURE: Build failed with an exception.
* Where:
Script '/Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native/react.gradle' line: 395
* What went wrong:
A problem occurred configuring project ':app'.
> Could not create task ':app:copyDebugBundledJs'.
> Could not create task ':app:mergeDebugAssets'.
> Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
* Try:
> 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 40s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 -PreactNativeDebugArchitectures=arm64-v8a -PreactNativeArchitectures=arm64-v8a
FAILURE: Build failed with an exception.
* Where:
Script '/Users/leo/Documents/GitHub/react-native-template-new-architecture/node_modules/react-native/react.gradle' line: 395
* What went wrong:
A problem occurred configuring project ':app'.
> Could not create task ':app:copyDebugBundledJs'.
> Could not create task ':app:mergeDebugAssets'.
> Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
react-native-template-new-architecture/android/gradle/wrapper/gradle-wrapper.properties
Line 5 in c794902
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-milestone-2-all.zip
yarn android
/cd android && ./gradlew clean
The text was updated successfully, but these errors were encountered: