gradle-ospackage-plugin icon indicating copy to clipboard operation
gradle-ospackage-plugin copied to clipboard

ospackage-plugin doesn't work in VS Code

Open chriswang- opened this issue 5 years ago • 0 comments

Hi all,

I am working on build thingsboards recentlly, Seems the thingsboards project is calling gradle in the maven project, But the below error occured when I import the project into the vscode

Error occured in the build.gradle file apply plugin: "nebula.ospackage"

Error message:

{ "resource": "/thingsboard-test/thingsboard/application/build.gradle", "owner": "generated_diagnostic_collection_name#2", "code": "0", "severity": 8, "message": "Could not run phased build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-6.3-bin.zip'.\r\nBuild file '\thingsboard-test\thingsboard\application\build.gradle' line: 30\r\nA problem occurred evaluating root project 'application'.\r\nFailed to apply plugin [class 'com.netflix.gradle.plugins.packaging.SystemPackagingBasePlugin']\r\nCould not create an instance of type com.netflix.gradle.plugins.packaging.ProjectPackagingExtension.\r\nCould not find matching constructor for: org.gradle.api.internal.file.copy.DefaultCopySpec(org.gradle.api.internal.file.BaseDirFileResolver, org.gradle.internal.instantiation.generator.DependencyInjectingInstantiator)", "source": "Java", "startLineNumber": 30, "startColumn": 1, "endLineNumber": 30, "endColumn": 1 }

chriswang- avatar May 10 '20 05:05 chriswang-