46b1ac8f07
This method from joda-time supports replacing the system time provider with a custom provider for tests. Since it is verbose, and we expect more related methods, put it in the more succinct TimeUtil.nowMs(). This commit covers the trivial cases in the server side; client-side code still uses System.currentTimeMillis(). Change-Id: I6c56e8c5bbb0cf7b0271e431d1ebdb532967b9e8
26 lines
542 B
Python
26 lines
542 B
Python
include_defs('//lib/maven.defs')
|
|
|
|
EXCLUDE = [
|
|
'META-INF/LICENSE.txt',
|
|
'META-INF/NOTICE.txt',
|
|
]
|
|
|
|
maven_jar(
|
|
name = 'joda-time',
|
|
id = 'joda-time:joda-time:2.3',
|
|
sha1 = '56498efd17752898cfcc3868c1b6211a07b12b8f',
|
|
deps = [':joda-convert'],
|
|
license = 'Apache2.0',
|
|
exclude = EXCLUDE,
|
|
visibility = ['PUBLIC'],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'joda-convert',
|
|
id = 'org.joda:joda-convert:1.2',
|
|
bin_sha1 = '35ec554f0cd00c956cc69051514d9488b1374dec',
|
|
license = 'Apache2.0',
|
|
exclude = EXCLUDE,
|
|
visibility = ['//lib/joda:joda-time'],
|
|
)
|