bored-art-40741
09/05/2015, 7:21 PMenough-analyst-54434
09/05/2015, 7:21 PMenough-analyst-54434
09/05/2015, 7:21 PMenough-analyst-54434
09/05/2015, 7:21 PMenough-analyst-54434
09/05/2015, 7:22 PMbored-art-40741
09/05/2015, 7:22 PMbored-art-40741
09/05/2015, 7:22 PMenough-analyst-54434
09/05/2015, 7:23 PMenough-analyst-54434
09/05/2015, 7:23 PMbored-art-40741
09/05/2015, 8:36 PMbored-art-40741
09/05/2015, 8:37 PMancient-stone-50795
09/06/2015, 11:07 AMancient-stone-50795
09/06/2015, 11:08 AMancient-stone-50795
09/06/2015, 11:09 AMancient-stone-50795
09/06/2015, 11:10 AMancient-stone-50795
09/06/2015, 11:11 AMancient-stone-50795
09/06/2015, 11:21 AMancient-stone-50795
09/06/2015, 11:36 AMancient-stone-50795
09/06/2015, 2:38 PMenough-analyst-54434
09/06/2015, 2:39 PMancient-stone-50795
09/06/2015, 2:40 PMtarget(name='wire-compiler',
dependencies=[
'3rdparty:com.squareup.wire.wire-compiler',
],
)
ancient-stone-50795
09/06/2015, 2:40 PMancient-stone-50795
09/06/2015, 2:42 PMenough-analyst-54434
09/06/2015, 2:43 PMancient-stone-50795
09/06/2015, 2:44 PM[gen.wire]
# Make sure Pants dependencies on wire are the same versions declared in our maven build under parents/base/pom.xml
javadeps: ["3rdparty:com.squareup.wire.wire-runtime"]
# Add guava to the list of wire_compiler deps because the 'sjar()' macro excludes transitive guava deps
# from everything in 3rdparty. We do this in 3rdparty because there are many different versions of guava declared
# and we only want to choose one.
wire_compiler: ["3rdparty:com.squareup.wire.wire-compiler", "3rdparty:com.google.guava.guava”]
ancient-stone-50795
09/06/2015, 2:44 PM//:wire-compiler
(I commented in the RB)enough-analyst-54434
09/06/2015, 2:44 PMenough-analyst-54434
09/06/2015, 2:45 PMenough-analyst-54434
09/06/2015, 2:46 PMancient-stone-50795
09/06/2015, 2:48 PM@memoized_property
def _wire_compiler_version(self):
wire_compiler = self.tool_targets(self.context, 'wire_compiler')[0]
wire_compiler_jar = wire_compiler.jar_dependencies[0]
wire_compiler_version = wire_compiler_jar.rev
return Revision.lenient(wire_compiler_version)