Niedzielski has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/343291 )

Change subject: Hygiene: add jsoup v1.10.2
......................................................................

Hygiene: add jsoup v1.10.2

Add Java HTML Parser for parsing image src and srcset links.

Bug: T156917
Change-Id: Iad0ea2fbb9b8fbcf0867f6c212c585f86472d8cf
---
M app/build.gradle
A app/src/main/assets/licenses/jsoup
M app/src/main/res/values/credits.xml
3 files changed, 26 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/91/343291/1

diff --git a/app/build.gradle b/app/build.gradle
index 877adcf..891cd85 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -200,6 +200,7 @@
     }
     compile 'net.hockeyapp.android:HockeySDK:4.0.1'
     compile 'org.apache.commons:commons-lang3:3.5'
+    compile 'org.jsoup:jsoup:1.10.2'
 
     annotationProcessor 
"com.jakewharton:butterknife-compiler:$butterKnifeVersion"
 
diff --git a/app/src/main/assets/licenses/jsoup 
b/app/src/main/assets/licenses/jsoup
new file mode 100644
index 0000000..6a771db
--- /dev/null
+++ b/app/src/main/assets/licenses/jsoup
@@ -0,0 +1,21 @@
+The MIT License
+
+© 2009-2017, Jonathan Hedley <jonat...@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.
\ No newline at end of file
diff --git a/app/src/main/res/values/credits.xml 
b/app/src/main/res/values/credits.xml
index 38d3241..ae29729 100644
--- a/app/src/main/res/values/credits.xml
+++ b/app/src/main/res/values/credits.xml
@@ -21,6 +21,10 @@
         <!-- 
https://raw.githubusercontent.com/kevinsawicki/http-request/master/LICENSE.md 
-->
         (<a href="asset:///android_asset/licenses/Http-Request">license</a>),
 
+        <a href="https://github.com/jhy/jsoup";>jsoup</a>
+        <!-- https://raw.githubusercontent.com/jhy/jsoup/master/LICENSE -->
+        (<a href="asset:///android_asset/licenses/jsoup">license</a>),
+
         <a href="https://www.mapbox.com/android-sdk/";>Mapbox Android SDK</a>
         <!-- 
https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/LICENSE.md-->
         (<a href="asset:///android_asset/licenses/Mapbox">license</a>),

-- 
To view, visit https://gerrit.wikimedia.org/r/343291
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad0ea2fbb9b8fbcf0867f6c212c585f86472d8cf
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org>
Gerrit-Reviewer: Sniedzielski <sniedziel...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to