ksoichiro / gradle-web-resource-plugin

Gradle plugin to use CoffeeScript, LESS and Bower libraries without Node.js/npm.
Apache License 2.0
23 stars 5 forks source link

Deprecation warning in gradle 3.3 #16

Open gordolio opened 7 years ago

gordolio commented 7 years ago

There's a warning while building with gradle 3.3 that property(String,Object) will be removed in gradle 4.0. This is being used in com.github.ksoichiro.web.resource.task.WebResourceInstallBowerDependenciesTask

The chaining of the property(String, Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use the property(String, Object) method on TaskInputs directly instead.
        at org.gradle.api.internal.tasks.DefaultTaskInputPropertySpec.getTaskInputs(DefaultTaskInputPropertySpec.java:152)
        at org.gradle.api.internal.tasks.DefaultTaskInputPropertySpec.property(DefaultTaskInputPropertySpec.java:188)
        at org.gradle.api.tasks.TaskInputFilePropertyBuilder$property.call(Unknown Source)
        at com.github.ksoichiro.web.resource.task.WebResourceInstallBowerDependenciesTask$_closure1.doCall(WebResourceInstallBowerDependenciesTask.groovy:21)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)