Skip to content

Can't use the Gradle task #2

@Minetrio1256

Description

@Minetrio1256

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions