Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup issue on Windows #24

Open
brycepg opened this issue Jun 9, 2023 · 4 comments
Open

Setup issue on Windows #24

brycepg opened this issue Jun 9, 2023 · 4 comments

Comments

@brycepg
Copy link

brycepg commented Jun 9, 2023

After setting my game directory with .\gradlew setGameDirectory

where my local.properties file looks like:

gameDir=/Program Files (x86)/Steam/steamapps/common/ProjectZomboid

I'm getting this error when trying to do anything with gradle:

Could not create task ':updateZomboidLua'.
Could not create task ':zomboidVersion'.
> 'org.gradle.api.tasks.JavaExec io.pzstorm.capsid.zomboid.task.ZomboidVersionTask.setMain(java.lang.String)'

Not sure where to go from here. Any help would be appreciated

@brycepg
Copy link
Author

brycepg commented Jul 17, 2023

Someone mentioned lowering the version of gradle but I think they deleted their post?

gradle --version

------------------------------------------------------------
Gradle 8.1.1
------------------------------------------------------------

Build time:   2023-04-21 12:31:26 UTC
Revision:     1cf537a851c635c364a4214885f8b9798051175b

Kotlin:       1.8.10
Groovy:       3.0.15
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          20.0.1 (Oracle Corporation 20.0.1+9-29)
OS:           Windows 11 10.0 amd64

Will try with gradle 7 later

@BananaLumps
Copy link

Had this issue myself, seems to work fine with gradle 7.2

@DiedLandX
Copy link

Yep, lowering gradle to 7.2 solved for me too

@salah-rashad
Copy link

I used Oracle's JDK 8 and set Gradle version to 7.2
Everything works fine.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants