How to make a task return some value and how to get it in java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to make a task return some value and how to get it in java

jeevin
This post has NOT been accepted by the mailing list yet.
Let me explain my problem,
  1.i have a java class from which i ll invoke a gradle task(using projectConnection) . That gradle task will generate a json object.  Now i want that json object in my java class. How to get it? any ideas?

Thanks