Buck: Simplify mail integration

Remove unnecessary java_library rule wrappers around another
java_library defined through maven_jar rule.

Change-Id: Ibb6d52d210e2ba1f2569177d232f41b7a67a6a7f
This commit is contained in:
David Ostrovsky
2016-12-21 22:59:59 +01:00
parent 03a690b6e8
commit f077f132b2
2 changed files with 2 additions and 18 deletions

View File

@@ -2,16 +2,8 @@ include_defs('//lib/maven.defs')
VERSION = '1.5.2'
java_library(
name = 'greenmail',
exported_deps = [
':greenmail_library',
],
visibility = ['PUBLIC'],
)
maven_jar(
name = 'greenmail_library',
name = 'greenmail',
id = 'com.icegreen:greenmail:' + VERSION,
sha1 = '6b4862a09f8642da58c109117b24ccc19a4a6d39',
license = 'Apache2.0',

View File

@@ -2,16 +2,8 @@ include_defs('//lib/maven.defs')
VERSION = '1.5.6'
java_library(
name = 'mail',
exported_deps = [
':mail_library',
],
visibility = ['PUBLIC'],
)
maven_jar(
name = 'mail_library',
name = 'mail',
id = 'com.sun.mail:javax.mail:' + VERSION,
sha1 = 'ab5daef2f881c42c8e280cbe918ec4d7fdfd7efe',
license = 'DO_NOT_DISTRIBUTE',