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
{{ message }}
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
I get the following error when I refresh my Gradle:
Error:Unable to find method 'org.gradle.api.internal.project.ProjectInternal.getServices()Lorg/gradle/internal/service/scopes/ServiceRegistryFactory;'.
Possible causes for this unexpected error include:
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.
My gradle.build looks like this:
apply plugin: 'js'
apply plugin: 'css'
// define the dependencies gradle buildscript will use to build
// the app (not the app itself)
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.eriwen:gradle-css-plugin:1.8.0'
classpath 'com.eriwen:gradle-js-plugin:1.9.0'
}
}
I'm using the same version of gradle that this plugin uses.
The text was updated successfully, but these errors were encountered:
Was this problem resolved? I'm getting a similar issue simply putting the command:
plugins { id "com.eriwen.gradle.js" version "2.14.1" }
The issue is this:
Unable to find method 'org.gradle.api.internal.AbstractNamedDomainObjectContainer: method 'void (java.lang.Class, org.gradle.internal.reflect.Instantiator)' not found'
org.gradle.api.internal.AbstractNamedDomainObjectContainer: method 'void (java.lang.Class, org.gradle.internal.reflect.Instantiator)' not found
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get the following error when I refresh my Gradle:
Error:Unable to find method 'org.gradle.api.internal.project.ProjectInternal.getServices()Lorg/gradle/internal/service/scopes/ServiceRegistryFactory;'.
Possible causes for this unexpected error include:
- Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
- The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
- 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.Re-download dependencies and sync project (requires network)
Stop Gradle build processes (requires restart)
My gradle.build looks like this:
I'm using the same version of gradle that this plugin uses.
The text was updated successfully, but these errors were encountered: