Skip to content

Path in script should be related to buid.gradle.kts not to root directory #11

@koppor

Description

@koppor

I have a multi project build.

I have in subproejct:

script = "src/build-support/LtwaListMvGenerator.java"

I do

./gradlew :subproject:jbang

Doesn't find script

I change to

script = "subproject/src/build-support/LtwaListMvGenerator.java"

Works.

I cd in to subproject

I run

./gradlew jbang

doesn't work


Whish: The path of the sript is resolved by the plugin (!) to a path relative to the build file where the path is defined. - Maybe, to the project where the task is defined. But not to the current working directory.

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