Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Gradle upgrade to 5.4 causes build failure  #118

@sandeep-khanna

Description

@sandeep-khanna

Environment

Java

openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu219.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu219.04.1, mixed mode, sharing)

GWT

2.8.2

GWT Gradle Plugin

0.6

Receiving the following error after upgrading Gradle from version 4.8.1 to 5.4.1

java.lang.NoSuchMethodError: org.gradle.api.tasks.SourceSetOutput.getClassesDir()Ljava/io/File;
10:12:21.117 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at de.richsource.gradle.plugins.gwt.GwtBasePlugin$5$3.call(GwtBasePlugin.java:263)
10:12:21.117 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at de.richsource.gradle.plugins.gwt.GwtBasePlugin$5$3.call(GwtBasePlugin.java:260)
10:12:21.117 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.util.GUtil.uncheckedCall(GUtil.java:459)
10:12:21.118 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.extensibility.ConventionAwareHelper$2.doGetValue(ConventionAwareHelper.java:77)
10:12:21.118 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.extensibility.ConventionAwareHelper$MappedPropertyImpl.getValue(ConventionAwareHelper.java:121)
10:12:21.118 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.extensibility.ConventionAwareHelper.getConventionValue(ConventionAwareHelper.java:104)
10:12:21.118 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at de.richsource.gradle.plugins.gwt.GwtCompile_Decorated.getClasspath(Unknown Source)
10:12:21.119 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Is the solution some local workaround or an update to the gwt-gradle-plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions