Adam Frank
Adam Frank

Reputation: 11

GenIntellIjRuns is not found in root project

I am trying to modify open source mod for minecraft but getting this error when setting up in cmd ( gradlew.bat genIntellIjruns) FAILURE: Build failed with an exception.

I tried to check the task genIntellIjruns in gradlew but there were none. What should i do to set it up?

Upvotes: 1

Views: 341

Answers (1)

InfDreSta
InfDreSta

Reputation: 21

I have found that enable options "org.gradle.configureondemand" or "org.gradle.configuration-cache" by writes those inside gradle.properties files cause that error

org.gradle.configureondemand=true
org.gradle.configuration-cache=true

Seem like it make the gradle ignore the genIntellIjruns task and other tasks from forge's forgeGradle, so make sure to remove that or set it to false

org.gradle.configureondemand=false
org.gradle.configuration-cache=false

Upvotes: 0

Related Questions