Skip to content

Error while deploying nodes after configuring app in android studio  #45

Open
@error335wb

Description

@error335wb

Hi, I am getting error while configuring sample source code application locally.
I am following the steps mentioned in official documentation link in given below.
Documentation Link: Run a sample CorDapp
I have upgraded the gradle to 7.3
and Kotlin version to 1.3 and after that when I run the command to deploy nodes as mentioned in documentation I am getting following error which is in "net.corda.plugins.cordformation" plugin.
Error is:

A problem was found with the configuration of task ':deployNodes' (type 'Cordform').

  • In plugin 'net.corda.plugins.cordformation' type 'net.corda.plugins.Cordform' property 'directory' has @input annotation used on property of type 'Path'.

    Reason: A property of type 'Path' annotated with @input cannot determine how to interpret the file.

    Possible solutions:

    1. Annotate with @InputFile for regular files.
    2. Annotate with @InputDirectory for directories.
    3. If you want to track the path, return File.absolutePath as a String and keep @input.

    Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#incorrect_use_of_input_annotation for more details about this problem.

Please Help me to configure the following code. Thanks in advance.

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