Read this:

https://github.com/kelemen/netbeans-gradle-project/issues/395

If needed, after reading the above, file issues here:

https://github.com/kelemen/netbeans-gradle-project/issues

Thanks,

Gj


On Thu, Aug 30, 2018 at 6:36 AM, Miroslav Nachev <
mnachev.nscenter...@gmail.com> wrote:

> Hi,
>
> I have big difficulty in compiling and running projects that use Gradle.
> To use such projects, I do one of the following:
> - Copy the project and modify it in Maven to be available in NetBeans.
> - I run it from the console and make changes through an external editor.
> - I use Eclipse to be able to compile, debug and run the project from IDE.
>
> What are the issues:
>
>    - Once the project is opened, its content is unavailable.
>    [image: image.png]
>    - When I want to test, compile/build, or run the project, there are
>    various Exceptions like this:
>    Stack trace:
>        org.gradle.tooling.BuildException: Could not execute build using
>    Gradle distribution 'https://services.gradle.org/
>    distributions/gradle-4.5.1-bin.zip
>    <https://services.gradle.org/distributions/gradle-4.5.1-bin.zip>'.
>        at org.gradle.tooling.internal.consumer.ExceptionTransformer.
>    transform(ExceptionTransformer.java:51)
>    Caused by: org.gradle.internal.exceptions.LocationAwareException: Task
>    'cleanTest' not found in root project 'testfx-junit5'.
>        at org.gradle.initialization.DefaultExceptionAnalyser.transform(
>    DefaultExceptionAnalyser.java:74)
>    Caused by: org.gradle.execution.TaskSelectionException: Task
>    'cleanTest' not found in root project 'testfx-junit5'.
>    - When I use JDK 10 and 11, I have many problems
>
> What is the way I can use Gradle via NetBeans IDE?
>
>
> Regards,
> Miro.
>
>

Reply via email to