gerrit/lib/easymock/BUCK
Christian Aistleitner c5f6b665a0 Bump to powermock 1.6.2 and to compatible easymock 3.3.1
We were at powermock 1.5 and easymock 3.2. However, powermock 1.5
requires easymock 3.1. This mismatch in easymock versions caused tests
for plugins to fail with

  org.powermock.reflect.exceptions.FieldNotFoundException: No instance
    field of type "org.easymock.internal.MocksControl$MockType" could be
    found in the class hierarchy of org.easymock.internal.MocksControl.

For example its-phabricator worked around it by providing and forcing
easymock 3.1. In order to be able to get rid of such workarounds, we
bump to powermock 1.6.2 and easymock 3.3.1, which are compatible
versions again.

Although easymock requires to bump objenesis only to 1.3, we
nonetheless bump it objenesis to 2.1 as powermock 1.6.2 requires
objenesis 2.1.

Change-Id: Ie61f51b937b8753f933b66d61f62c174b51c5ea6
2015-06-09 02:12:45 +00:00

32 lines
761 B
Python

include_defs('//lib/maven.defs')
maven_jar(
name = 'easymock',
id = 'org.easymock:easymock:3.3.1', # When bumping the version
# number, make sure to also move powermock to a compatible version
sha1 = 'a497d7f00c9af78b72b6d8f24762d9210309148a',
license = 'DO_NOT_DISTRIBUTE',
deps = [
':cglib-2_2',
':objenesis',
],
)
maven_jar(
name = 'cglib-2_2',
id = 'cglib:cglib-nodep:2.2.2',
sha1 = '00d456bb230c70c0b95c76fb28e429d42f275941',
license = 'DO_NOT_DISTRIBUTE',
attach_source = False,
)
maven_jar(
name = 'objenesis',
id = 'org.objenesis:objenesis:2.1',
sha1 = '87c0ea803b69252868d09308b4618f766f135a96',
license = 'DO_NOT_DISTRIBUTE',
visibility = ['//lib/powermock:powermock-reflect'],
attach_source = False,
)