Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 3

Gradle error: IllegalStateException: No value has been specified for this provider

I am able to run the command `./gradlew build` locally but issuing this command fails on GitHub Actions fails with the error, "IllegalStateException: No value has been specified for this provider".  This is the workflow configuration we are using. Not sure what might be going on, any suggestions?

2 Replies
Copilot Lvl 3
Message 2 of 3

Re: Gradle error: IllegalStateException: No value has been specified for this provider

Apparently this was caused by the gradle/wrapper/gradle-wrapper.properties and `gradlew` files being out of sync -- the `gradlew` file was generated by an older Gradle version and after regenerating it, everything seems to work again.

Ground Controller Lvl 1
Message 3 of 3

Re: Gradle error: IllegalStateException: No value has been specified for this provider