You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./gradlew myTask
...
> Task :myTask
Caching disabled for task ':myTask' because:
Build cache is disabled
Task ':myTask' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Using method ObjectFactory.property() method to create a property of type Map<K, V> has been deprecated. This will fail with an error in Gradle 6.0. Please use the ObjectFactory.mapProperty() method instead.
#Thu Aug 22 10:19:16 PDT 2019
key3=value3
key2=value2
key1=value1
:myTask (Thread[Execution worker for ':',5,main]) completed. Took 0.007 secs.
BUILD SUCCESSFUL in 581ms
1 actionable task: 1 executed
Expected Behavior
should not see a deprecation warning about not using ObjectFactory.mapProperty()
Current Behavior
I am seeing a deprecation warning about not using ObjectFactory.mapProperty()
Context
I want to pass a java.util.Map object to my worker
Steps to Reproduce
See example above.
Your Environment
OSX
The text was updated successfully, but these errors were encountered:
I'm seeing a deprecation warning about not using ObjectFactory.mapProperty() which I don't think I have any control over.
E.g. a simple project defined across two files
~/tstProj/buildSrc/src/main/java/MyTask.java:
~/tstProj/build.gradle:
result:
Expected Behavior
should not see a deprecation warning about not using ObjectFactory.mapProperty()
Current Behavior
I am seeing a deprecation warning about not using ObjectFactory.mapProperty()
Context
I want to pass a java.util.Map object to my worker
Steps to Reproduce
See example above.
Your Environment
OSX
The text was updated successfully, but these errors were encountered: