Skip to content

Fix ./gradlew wrapper run issue in GitHub workflow #26

@hossain-khan

Description

@hossain-khan

Whenever ./gradlew is used from github workflows, it always gives this error

Run ./gradlew build
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Find a fix and update workflows to use ./gradlew if the fix works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions