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

Can't use the Gradle task #2

Open
Minetrio1256 opened this issue Apr 22, 2024 · 3 comments
Open

Can't use the Gradle task #2

Minetrio1256 opened this issue Apr 22, 2024 · 3 comments

Comments

@Minetrio1256
Copy link

I am having issue with the Gradle task to test the plugin.
Here is my settings.gradle
`rootProject.name = 'DemoJavaPlugin'

include ":MCreator"
mcreator_path= '/.mcreator/gradle/'
project(":MCreator").projectDir = file(mcreator_path)`
Here is the error:

  • What went wrong:
    A problem occurred evaluating settings 'DemoJavaPlugin'.

Could not set unknown property 'mcreator_path' for settings 'DemoJavaPlugin' of type org.gradle.initialization.DefaultSettings.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --debug option to get more log output.
Get more help at https://help.gradle.org.

@cdc12345
Copy link

cdc12345 commented Jul 7, 2024

Please specify this variable (mcreator_path) to the local MCreator Gradle project address

@Minetrio1256
Copy link
Author

how

@cdc12345
Copy link

cdc12345 commented Jul 7, 2024

how

clone the MCreator repository(MCreator/MCreator) and,copy its path to set the variable

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