Skip to content

Instantly share code, notes, and snippets.

@msfjarvis
Created July 13, 2021 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msfjarvis/a9d2d4466289f5825a09f4c10c9a1fce to your computer and use it in GitHub Desktop.
Save msfjarvis/a9d2d4466289f5825a09f4c10c9a1fce to your computer and use it in GitHub Desktop.
Grazel 7.0 build failure
➜ gradle migrateToBazel
> Configure project :sample-android
WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
It will be removed in version 5.0 of the Android Gradle plugin.
> Configure project :sample-android-flavor
WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'.
It will be removed in version 5.0 of the Android Gradle plugin.
> Task :generateRootBazelScripts
Generated WORKSPACE
Generated BUILD.bazel
> Task :sample-android-flavor:generateBazelScripts FAILED
> Task :sample-lib-flavor1:generateBazelScripts FAILED
> Task :sample-kotlin-lib:generateBazelScripts FAILED
> Task :sample-lib-flavor2:generateBazelScripts FAILED
> Task :sample-android:generateBazelScripts FAILED
> Task :formatBuildBazel FAILED
FAILURE: Build completed with 6 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sample-android-flavor:generateBazelScripts'.
> Input property 'bazelFileBuilder$grazel_gradle_plugin' with value 'com.grab.grazel.migrate.internal.ProjectBazelFileBuilder$Factory@1dbe7509' cannot be serialized.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sample-lib-flavor1:generateBazelScripts'.
> Input property 'bazelFileBuilder$grazel_gradle_plugin' with value 'com.grab.grazel.migrate.internal.ProjectBazelFileBuilder$Factory@1dbe7509' cannot be serialized.
* 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.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sample-kotlin-lib:generateBazelScripts'.
> Input property 'bazelFileBuilder$grazel_gradle_plugin' with value 'com.grab.grazel.migrate.internal.ProjectBazelFileBuilder$Factory@1dbe7509' cannot be serialized.
* 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.
==============================================================================
4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sample-lib-flavor2:generateBazelScripts'.
> Input property 'bazelFileBuilder$grazel_gradle_plugin' with value 'com.grab.grazel.migrate.internal.ProjectBazelFileBuilder$Factory@1dbe7509' cannot be serialized.
* 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.
==============================================================================
5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sample-android:generateBazelScripts'.
> Input property 'bazelFileBuilder$grazel_gradle_plugin' with value 'com.grab.grazel.migrate.internal.ProjectBazelFileBuilder$Factory@1dbe7509' cannot be serialized.
* 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.
==============================================================================
6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':formatBuildBazel'.
> A problem occurred starting process 'command 'buildifier''
* 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
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.1.1/userguide/command_line_interface.html#sec:command_line_warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment