Add jsoup to Buck and Bazel
This library will be used for parsing incoming HTML emails and ingest comments into Gerrit. Change-Id: I3ccfd231ad36a8da94172bb32cbf979bafc914b5
This commit is contained in:
parent
4807acbf50
commit
ced85a98fa
@ -411,6 +411,12 @@ maven_jar(
|
||||
sha1 = '6720c93d14225c3e12c4a69768a0370c80e376a3',
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'jsoup',
|
||||
artifact = 'org.jsoup:jsoup:1.9.2',
|
||||
sha1 = '5e3bda828a80c7a21dfbe2308d1755759c2fd7b4',
|
||||
)
|
||||
|
||||
OW2_VERS = '5.1'
|
||||
|
||||
maven_jar(
|
||||
|
1
lib/BUCK
1
lib/BUCK
@ -20,6 +20,7 @@ define_license(name = 'highlightjs')
|
||||
define_license(name = 'icu4j')
|
||||
define_license(name = 'jgit')
|
||||
define_license(name = 'jsch')
|
||||
define_license(name = 'jsoup')
|
||||
define_license(name = 'MPL1.1')
|
||||
define_license(name = 'moment')
|
||||
define_license(name = 'OFL1.1')
|
||||
|
21
lib/LICENSE-jsoup
Normal file
21
lib/LICENSE-jsoup
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License
|
||||
|
||||
© 2009-2016, Jonathan Hedley <jonathan@hedley.net>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
20
lib/jsoup/BUCK
Normal file
20
lib/jsoup/BUCK
Normal file
@ -0,0 +1,20 @@
|
||||
include_defs('//lib/maven.defs')
|
||||
|
||||
VERSION = '1.9.2'
|
||||
|
||||
java_library(
|
||||
name = 'jsoup',
|
||||
exported_deps = [
|
||||
':jsoup_library',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
maven_jar(
|
||||
name = 'jsoup_library',
|
||||
id = 'org.jsoup:jsoup:' + VERSION,
|
||||
sha1 = '5e3bda828a80c7a21dfbe2308d1755759c2fd7b4',
|
||||
license = 'jsoup',
|
||||
exclude_java_sources = True,
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
6
lib/jsoup/BUILD
Normal file
6
lib/jsoup/BUILD
Normal file
@ -0,0 +1,6 @@
|
||||
java_library(
|
||||
name = 'jsoup',
|
||||
exports = ['@jsoup//jar'],
|
||||
visibility = ['//visibility:public'],
|
||||
data = ['//lib:LICENSE-jsoup'],
|
||||
)
|
Loading…
Reference in New Issue
Block a user