You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On running the following command: $ ./gradlew :firebase-config:googleJavaFormat
I am getting this error:
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
* 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 823ms
Tried to upgrade gradle version, but it seems to be having some issue with kotlin dsl version and gives the following error:
Unable to find method ''void org.gradle.kotlin.dsl.support.EmbeddedKotlinProvider.addRepositoryTo(org.gradle.api.artifacts.dsl.RepositoryHandler)''
'void org.gradle.kotlin.dsl.support.EmbeddedKotlinProvider.addRepositoryTo(org.gradle.api.artifacts.dsl.RepositoryHandler)'
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On running the following command:
$ ./gradlew :firebase-config:googleJavaFormat
I am getting this error:
Tried to upgrade gradle version, but it seems to be having some issue with kotlin dsl version and gives the following error:
Beta Was this translation helpful? Give feedback.
All reactions