This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
How to handle deprecated message related to Gradle 6.0 and the gradle-js-plugin ? #168
Comments
Full report should be available from https://gradle.com/s/5opyqj6szezyi - not sure if the link can be shared here - alternate URL: https://scans.gradle.com/s/5opyqj6szezyi/deprecations?openUsages=WzMsNF0#deprecation-3-usage-0 |
This was referenced Apr 4, 2019
I'm facing the same issue. The same goes for the gradle-css-plugin I have created PRs for both: |
+1 Is this project still maintained? |
+1, this would be great to fix |
Now as Gradle 6 has been released the title should state something like "Incompatibility with Gradle 6". |
I solved this issue switching to webpack and calling it in a custom gradle task: task webpackBuild(type: Exec) {
workingDir 'base/path'
commandLine 'npm', 'run', 'build'
} |
This was referenced Sep 3, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With the latest version of Gradle - currently using 5.1 - I am getting a new deprecated code notice in my build:
Internal API constructor FactoryNamedDomainObjectContaineronstructor AbstractNamedDomainObjectContainer(Class, Instantiator) has been deprecated.
When using the --stacktrace option, I am getting the following extra information:
Internal API constructor FactoryNamedDomainObjectContaineronstructor AbstractNamedDomainObjectContainer(Class, Instantiator) has been deprecated. This is scheduled to be removed in Gradle 6.0. Don't use internal API
at org.gradle.api.internal.AbstractNamedDomainObjectContainer.(AbstractNamedDomainObjectContainer.java:65)
at com.eriwen.gradle.js.source.internal.DefaultJavaScriptSourceSetContainer.(DefaultJavaScriptSourceSetContainer.java:17)
at com.eriwen.gradle.js.source.internal.DefaultJavaScriptSourceSetContainer_Decorated.(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:51)
at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.eriwen.gradle.js.JavaScriptExtension.(JavaScriptExtension.groovy:16)
at com.eriwen.gradle.js.JavaScriptExtension_Decorated.(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:51)
at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
at org.gradle.api.internal.plugins.DefaultConvention.instantiate(DefaultConvention.java:242)
at org.gradle.api.internal.plugins.DefaultConvention.create(DefaultConvention.java:142)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.eriwen.gradle.js.JsPlugin.apply(JsPlugin.groovy:43)
at com.eriwen.gradle.js.JsPlugin.apply(JsPlugin.groovy)
...
I am going to try to push a build scan to gradle's site (https://scans.gradle.com) to make it easier to review.
The text was updated successfully, but these errors were encountered: