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

gradlew error #4

Open
mira-ugv opened this issue Jan 2, 2024 · 1 comment
Open

gradlew error #4

mira-ugv opened this issue Jan 2, 2024 · 1 comment

Comments

@mira-ugv
Copy link

mira-ugv commented Jan 2, 2024

I am attempting to run your build script on a clean new setup. My host machine's OS is Ubuntu 22.04.3 LTS.

After creating and connecting to the container, then trying to build ...

docker build -t atak-civ-4.6 .

docker run -ti -v /home/username/plugins:/home/atakdev/atak-civ/plugins atak-civ-4.6

cd plugins/my-plugin/

./gradlew assembleCivDebug

I get the following error ...

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

Any assistance would be most appreciated.

@Hellikandra
Copy link
Owner

I am not sure about what you are doing.
If I follow your command, you are not logged into the docker.
You need to launch ./gradlew assembleCivDebug from the docker and not from the Windows/Linux environement.

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

2 participants