Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
2de8593
Fix big number causing NumberFormatException in NaturalComparator
seven332 Dec 26, 2018
ed4267c
Delay SystemUiHelper synchronizing in onWindowFocusChanged()
seven332 Dec 27, 2018
415ffbc
Avoid NullPointerException when restore items
seven332 Jan 1, 2019
7496534
Exclude 64bit .so library
seven332 Jan 2, 2019
74c0e47
Avoid NullPointerException in MainActivity.handleIntent()
seven332 Jan 2, 2019
44cf2b6
Set hint to TextInputLayout instead of TextInputEditText
seven332 Jan 2, 2019
a1d1db1
Override startService() instead of using SilentContextWrapper
seven332 Jan 2, 2019
8d20621
Avoid crash in bindService()
seven332 Jan 2, 2019
36067c9
Ignore Throwable in ActivityCompat.requestPermissions()
seven332 Jan 2, 2019
2293654
Call notifyDataSetChanged() in ContentLayout restoring state
seven332 Jan 2, 2019
17f2bb6
Ignore Throwable in TextInputEditText.onDraw()
seven332 Jan 2, 2019
adf38af
Check updateCursorPositionMz method instead of device manufacturer
seven332 Jan 2, 2019
c9afa59
Avoid NullPointerException in StageActivity.onCreate()
seven332 Jan 2, 2019
2419543
Use a7zip to extract archives
seven332 Jan 3, 2019
926391a
Avoid NullPointerException in PrettyPreferenceActivity
seven332 Jan 3, 2019
948cb9e
Update GLView
seven332 Jan 3, 2019
8a7e72c
Add repo.e-hentai.org to builtin hosts
seven332 Jan 4, 2019
1409571
Add ehgt.org and ul.ehgt.org to builtin hosts
seven332 Jan 4, 2019
29e3a50
Update URL_PREFIX_THUMB_E
seven332 Jan 4, 2019
e8d05c2
Update crashlytics sdk
seven332 Jan 4, 2019
116f30e
1.3.4
seven332 Jan 4, 2019
3fdf945
Fix Pipe stuck
seven332 Jan 4, 2019
9dd3941
Update a7zip
seven332 Jan 4, 2019
a0b786b
Avoid NumberFormatException in Html.getHtmlColor()
seven332 Jan 5, 2019
a33bd63
Safe number string parsing
seven332 Jan 5, 2019
bb28dd9
Ignore IllegalArgumentException in URLDecoder.decode()
seven332 Jan 5, 2019
cf1ac32
Add android.max_aspect
seven332 Jan 5, 2019
7b07bdc
1.3.5
seven332 Jan 5, 2019
0353c1c
Update DrawerLayout
seven332 Jan 7, 2019
5b961d7
Block drawer gesture if it's on ScrollView
seven332 Jan 7, 2019
a1a82b0
Restrict GalleryDetailUrlParser token to 10 characters
seven332 Jan 10, 2019
1d5b26e
Update a7zip
seven332 Jan 10, 2019
f1bab7e
Add FixedThumb to fix thumbnail size
seven332 Jan 12, 2019
673735a
Update a7zip
seven332 Jan 13, 2019
a442578
Update okhttp
seven332 Jan 13, 2019
fb2011a
Adjust thumbnail aspect
seven332 Jan 14, 2019
eff2ed9
Update GLView
seven332 Jan 14, 2019
0eb86e3
Android Studio 3.3.0
seven332 Jan 16, 2019
e8eb126
Catch SQLException in SearchDatabase
seven332 Jan 16, 2019
7228736
Avoid crash in unbindService()
seven332 Jan 16, 2019
879b8fa
Support downloading galleries from FavoritesScene
seven332 Jan 17, 2019
3904406
Add IoThreadPoolExecutor
seven332 Jan 19, 2019
c580938
Support tag translations
seven332 Jan 19, 2019
3d3c3a9
Update License year
Tsuki Jan 21, 2019
59d141f
Improve ChromeRequestBuilder
seven332 Jan 21, 2019
016ec23
Fix rating if the gallery has been rated by the user
seven332 Jan 21, 2019
9d49973
Add new downloaded gallery to history
seven332 Jan 22, 2019
ec13244
Close #514, extend the duration of SnackBar
seven332 Jan 24, 2019
bc2b21b
1.4.0
seven332 Jan 26, 2019
8119572
Put tag translation metadata to xml resources
seven332 Jan 27, 2019
1edb894
Clear EhTagDatabase if it's not available
seven332 Jan 27, 2019
073934a
Disable google-services plugin if can't find google-services.json
seven332 Jan 27, 2019
95bb75c
Add tag translations source
seven332 Jan 30, 2019
ca6b2c6
Apply CN tag translations to HK and TW
seven332 Jan 31, 2019
f1c446f
Adjust description about chinese tag translations
seven332 Jan 31, 2019
ce5655d
Fix image transition
seven332 Feb 2, 2019
beeb083
Avoid MalformedURLException in ChromeRequestBuilder
seven332 Feb 3, 2019
1eaad6f
Support proxy
seven332 Feb 3, 2019
04a5c76
Update libraries
seven332 Feb 9, 2019
0afb78d
Use AndroidX
seven332 Feb 9, 2019
5c0772e
Update android-advancedrecyclerview
seven332 Feb 9, 2019
8ffd959
Fix gallery detail rating bar
seven332 Feb 9, 2019
fef42c0
Fix wrong widget in xml
seven332 Feb 9, 2019
41ef8d2
Catch all exception when saving tag translations
seven332 Feb 10, 2019
334c248
Use classloader in the SavedState of TaskPreference
seven332 Feb 10, 2019
6d72349
Fix missing Firebase gradle plugin
seven332 Feb 11, 2019
c5a6526
Add saving crash log
seven332 Feb 11, 2019
b8cb9f6
Update libraries
seven332 Feb 11, 2019
c326adf
Remove image cache after refreshing
seven332 Feb 11, 2019
4d4571a
Remove android-chinese-string plugin
seven332 Feb 12, 2019
b6e822e
Update Korean localization
lilymaniac Feb 13, 2019
2ad5edf
Merge pull request #528 from lilymaniac/l10n-ko
seven332 Feb 14, 2019
ced2139
Update libraries
seven332 Feb 16, 2019
cc92057
EhException supports cause now
seven332 Feb 16, 2019
cca6e2a
Get show key from gallery page html
seven332 Feb 16, 2019
a3aa4ba
Add GalleryPageApiParser
seven332 Feb 16, 2019
fc9270d
Thrown exception if no test resource
seven332 Feb 16, 2019
3380389
Remove useless exception is EhRequestBuilder
seven332 Feb 16, 2019
fd5f6c3
Use api to get page image url
seven332 Feb 16, 2019
77a2875
Remove EhConfig from EhRequestBuilder
seven332 Feb 17, 2019
dd700a0
Add Referer and Origin to HTTP request
seven332 Feb 17, 2019
169f4c3
Add operation records analytics
seven332 Feb 18, 2019
0dbb030
1.4.1
seven332 Feb 18, 2019
6adad86
Revert okhttp to 3.12.1
seven332 Feb 19, 2019
e1a88cd
1.4.2
seven332 Feb 19, 2019
303c51f
Remove "No more new SkipHathKey" tip
seven332 Feb 22, 2019
c08068e
Show heart icon if the gallery is favourited
seven332 Feb 23, 2019
6c25323
Show an icon if the gallery is downloaded
seven332 Feb 23, 2019
57a18b7
Add warning about minors
seven332 Feb 27, 2019
34eccad
Use AndroidX transition library
seven332 Mar 5, 2019
2a944f5
Adjust the center of circular reveal in gallery detail scene
seven332 Mar 5, 2019
7866722
Fix ripple clipping in pre-L devices
seven332 Mar 5, 2019
e659ba9
Fix English translations
seven332 Mar 11, 2019
b3a446f
Add thai language
maxdesu Mar 12, 2019
81434a6
Add Thai Language
maxdesu Mar 12, 2019
8d992d7
Merge pull request #1 from maxjame5432/thai-lang
maxdesu Mar 12, 2019
37de170
Add Thai language
maxdesu Mar 12, 2019
c119562
First commit
maxdesu Mar 12, 2019
350d846
Merge pull request #544 from maxjame5432/master
seven332 Mar 13, 2019
7631e3b
Apply Thai translations
seven332 Mar 13, 2019
0305c54
Fix Thai translations
seven332 Mar 13, 2019
c451458
Fix France name
seven332 Mar 13, 2019
7fc9ef9
Android Studio 3.3.2
seven332 Mar 15, 2019
c165c90
Enable builtin hosts if the country is CN
seven332 Mar 15, 2019
b101ae1
Fix parsing gallery list
seven332 Mar 19, 2019
b0ccfe4
Fix parse category of gallery detail
seven332 Mar 19, 2019
5b8e031
Add GalleryListParserTest
seven332 Mar 19, 2019
e5df571
Don't show favourited icon on FavouritesScene
seven332 Mar 19, 2019
2ec229c
Fix parsing popular
seven332 Mar 19, 2019
defa670
Add missing generateSLang()
seven332 Mar 19, 2019
9208c53
Fix gallery list url builder
seven332 Mar 19, 2019
89209a3
Don't call API if all data is got
seven332 Mar 19, 2019
388d507
Parsing GalleryInfo.rated
seven332 Mar 19, 2019
08d1ef8
Show pages if it's available
seven332 Mar 19, 2019
00289d1
Update EhDns
seven332 Mar 19, 2019
88baeeb
Revert "Show pages if it's available"
seven332 Mar 19, 2019
a7e4a2c
1.5.0
seven332 Mar 19, 2019
65f320f
Close #550, add language pattern for Japanese title
seven332 Mar 20, 2019
8b76eaa
Remove duplicate galleries
seven332 Mar 20, 2019
1cbb725
Add nextPage field to avoid require duplicate page
seven332 Mar 20, 2019
50c7a23
Fix description about show_jpn_title and show_gallery_pages
seven332 Mar 20, 2019
df72243
Add page from and page to
seven332 Mar 20, 2019
a2a6422
Parse page from and page to from url
seven332 Mar 20, 2019
749f261
Use switch string
seven332 Mar 20, 2019
c0f20ca
Always apply Name, Tags and Note on favourite search
seven332 Mar 21, 2019
94f6eec
Add the entry of My Tags
seven332 Mar 21, 2019
94db37c
Hide IME after searching
seven332 Mar 21, 2019
d463cf2
Close #559, add subscription
seven332 Mar 21, 2019
23a7053
Adjust EhUrl fields
seven332 Mar 21, 2019
a0e6a84
Remove help route
seven332 Mar 21, 2019
c0933eb
Add tips for subscription
seven332 Mar 21, 2019
7e1e4a0
Only show tips for subscription if no watched tags
seven332 Mar 21, 2019
13eb9e2
Add all cookie entries to CookieStore in WebViewSignIn
seven332 Mar 21, 2019
5dc6446
Close #561, add launch page selector
seven332 Mar 21, 2019
1d70572
Add arrow icon callback on MyTagsActivity
seven332 Mar 21, 2019
c5566aa
Add subscription search
seven332 Mar 21, 2019
a0b0109
Switch to subscription search in subscription screen
seven332 Mar 21, 2019
6775246
Add login tip for EHentai Setting and My Tags
seven332 Mar 21, 2019
871c0a4
Add disable default filters options
seven332 Mar 21, 2019
06e624a
Remove EhFilter
seven332 Mar 21, 2019
b3c855a
Enrich gallery list item menu
seven332 Mar 21, 2019
956b745
Notify download status on GalleryListScene
seven332 Mar 21, 2019
fd9f1bd
Add FavouriteStatusRouter to forward the favourite status
seven332 Mar 21, 2019
71dd9d3
Remove download listener and favourite listener in GalleryListScene.o…
seven332 Mar 21, 2019
82cdfeb
Remove gallery from local favourites in CommonOperations.removeFromFa…
seven332 Mar 21, 2019
265cbd0
Add GalleryInfoContentHelper to hold a data map
seven332 Mar 21, 2019
8774268
Check map null
seven332 Mar 21, 2019
aa01ddd
Disable ChangeImageTransform on Android 5
seven332 Mar 21, 2019
5fc0fb9
1.6.0
seven332 Mar 21, 2019
29a27cb
Fix null FavouriteStatusRouter
seven332 Mar 22, 2019
6350fc1
Fix parsing next page
seven332 Mar 22, 2019
3ae3602
Cancel footer refreshing if can't get next page
seven332 Mar 22, 2019
a2523aa
Don't make mEndPage beyond mPages
seven332 Mar 22, 2019
da9940d
Merge ContentLayout.setPages() to onGetPageData()
seven332 Mar 22, 2019
a739300
Use mEndPage to restrict mPages instead of mPages itself
seven332 Mar 22, 2019
be0c394
1.6.1
seven332 Mar 22, 2019
d731719
Add readonly FilterActivity
seven332 Mar 22, 2019
3cd4fc7
Classify EhFilter
seven332 Mar 22, 2019
58ac39c
Filter is back
seven332 Mar 25, 2019
67f9b6c
Remove useless analytics reporting
seven332 Mar 25, 2019
1ec3681
Add @string/search_sp_suffix for some languages
seven332 Mar 25, 2019
5e5a736
Update Japanese translations
JHuang778 Mar 25, 2019
f5128cd
Add latest release preference
seven332 Mar 26, 2019
229e429
Remove old translations
JHuang778 Mar 26, 2019
d8ee689
Update French translations
JHuang778 Mar 26, 2019
342ed0c
Update German translations
JHuang778 Mar 26, 2019
176c643
Update French translations
JHuang778 Mar 26, 2019
d58b2ba
Update Japanese translations
JHuang778 Mar 26, 2019
4a986a8
Remove duplicate translations
JHuang778 Mar 26, 2019
31412b7
Remove duplicate translations
JHuang778 Mar 26, 2019
a12b2c4
Add contributers for Japanese translations
JHuang778 Mar 27, 2019
a8b11c8
Fix a typo
JHuang778 Mar 27, 2019
6270e16
Fix another typo
JHuang778 Mar 27, 2019
c83fcee
Merge pull request #574 from UShimamura/master
seven332 Mar 27, 2019
db31e5c
Wrap keywords with quotation marks if they are tags
seven332 Mar 28, 2019
e9d5569
Escape quotation marks
seven332 Mar 28, 2019
f129ac6
Don't quote quoted keyword
seven332 Mar 28, 2019
7f73eb0
Add device_language as user property
seven332 Mar 29, 2019
07b1b50
Check mSearchLayout null in onUpdateUrlBuilder()
seven332 Mar 29, 2019
84fe397
1.6.2
seven332 Mar 29, 2019
dfa1de9
Close #578, search in subscriptions if subscriptions are shown
seven332 Mar 30, 2019
1b1d94a
Updated Spanish translation
scese250 Apr 1, 2019
0334833
Merge pull request #581 from scese250/patch-5
seven332 Apr 1, 2019
0f3a955
Fix spanish translation file
seven332 Apr 1, 2019
3530faa
Fix GalleryListParser
seven332 Apr 3, 2019
24612b7
Fix parsing thumbnail url
seven332 Apr 3, 2019
4b1c6ac
Fix parsing title
seven332 Apr 3, 2019
c7d7ce8
1.6.3
seven332 Apr 3, 2019
311dabb
Throw ParseException if no gallery found
seven332 Apr 4, 2019
43b1693
Update firebase-core
seven332 Apr 4, 2019
981a7c7
Apply fullscreen for phone with notch
seven332 Apr 6, 2019
5f41166
Updated Spanish translation
scese250 Apr 6, 2019
c286d2c
Merge pull request #592 from scese250/patch-6
seven332 Apr 7, 2019
1201241
Fix spanish translation file
seven332 Apr 7, 2019
7c5486a
Fix RecyclerView drag and drop
seven332 Apr 16, 2019
7beb49e
Remove wrong RecyclerView.hasFixedSize()
seven332 Apr 16, 2019
40c0506
Android Studio 3.4.0
seven332 Apr 19, 2019
de854ac
Ignore gone fabs in FabLayout
seven332 Apr 19, 2019
5087311
Add ReLinker dependency
seven332 Apr 22, 2019
1940397
Add go to and refresh to FavouriteScene
seven332 May 6, 2019
ae2443f
Always save crash file if onCreate() is not done
seven332 May 7, 2019
06357b3
Update libraries
seven332 May 7, 2019
3554fe1
Add release link to readme
seven332 May 7, 2019
efe7d47
Show empty page tip if getting empty html string
seven332 May 7, 2019
bd7c806
Check text to get comment actions
seven332 May 7, 2019
c914632
Use ThemeOverlay instead of Theme for views
seven332 May 7, 2019
4064510
Implement editing comment
seven332 May 8, 2019
60af793
Add GalleryCommentList to hold hasMore
seven332 May 11, 2019
a215389
Add loading more comments
seven332 May 11, 2019
a898f28
Remove default text from gallery detail tip
seven332 May 14, 2019
5e690c6
Android Studio 3.4.1
seven332 May 23, 2019
6086175
Disable view transition in GalleryDetailScene
seven332 May 25, 2019
0b6a9da
Update libraries
seven332 May 25, 2019
998d87b
1.7.0
seven332 May 25, 2019
6389b09
Fix thumb url
seven332 May 27, 2019
54b6dd9
1.7.1
seven332 May 27, 2019
2e56ba4
Convert gallery title to lowercase before checking filter
seven332 Jun 10, 2019
e68d4ad
Show last edited time of comments
seven332 Jun 10, 2019
bdd45b5
Readable time is more readable
seven332 Jun 10, 2019
21ef589
Add GalleryHeader avoid notch
seven332 Jun 14, 2019
06fd282
Fix GalleryHeader
seven332 Jun 14, 2019
9707ac4
Fix GalleryHeader
seven332 Jun 15, 2019
b7e2c5b
Use org.apache.http.legacy
seven332 Jun 15, 2019
6e73f03
Apply theme color to navigation bar in default
seven332 Jun 15, 2019
2c43589
Add auto screen rotation support.
Jun 8, 2019
f578c6c
Merge pull request #624 from dntil/master
seven332 Jun 17, 2019
c058bb0
Update issue templates
seven332 Jun 20, 2019
9834d45
Close #627, add quotation marks to titles for similar galleries
seven332 Jun 20, 2019
323b36c
Remove old github issue template
seven332 Jun 20, 2019
2da10a5
Show delete downloads option if the gallery is downloaded
seven332 Jun 20, 2019
7a47b25
Show icon in selection dialogs
seven332 Jun 20, 2019
d00f6e6
Show a confirm dialog before deleting galleries
seven332 Jun 20, 2019
04521df
Remove gallery if it's downloaded
seven332 Jun 20, 2019
b6a16d1
Filter uploader for thumbnail mode
seven332 Jun 20, 2019
ed7eba7
Update issue templates
seven332 Jun 20, 2019
ee0ffc4
Remove recaptcha
seven332 Jun 21, 2019
c9103ca
Add a tip about signing in
seven332 Jun 21, 2019
49f420c
Remove useless import
seven332 Jul 1, 2019
d86dd3b
1.7.2
seven332 Jul 1, 2019
db893b8
Add preset download dir
seven332 Jul 13, 2019
1cd5f7b
Update libraries
seven332 Jul 13, 2019
0248fd4
Add kokomade tip
seven332 Jul 26, 2019
8a7adbe
1.7.3
seven332 Jul 26, 2019
47c9d48
Close #659, fix parsing gallery parent
seven332 Jul 29, 2019
7b95bc8
Check plain text after downloading
seven332 Jul 31, 2019
28eade9
Fix check plain txt
seven332 Jul 31, 2019
d72f686
Fix data exporting
seven332 Aug 1, 2019
92f7161
Fix plain txt checking
seven332 Aug 7, 2019
6a9e019
Add cookie to torrent request
seven332 Aug 7, 2019
ba6d41b
DEPRECATED
seven332 Aug 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/-------feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: 功能申请 / Feature request
about: 有个想法 / Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**这个功能是用来解决问题的吗? / Is your feature request related to a problem? Please describe.**
描述这个问题。
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**描述你想要的解决方法 / Describe the solution you'd like**
描述应通过何种行为来解决这个问题。
A clear and concise description of what you want to happen.

**备注 / Additional context**
还有别的想说的吗?
Add any other context or screenshots about the feature request here.
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug------bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Bug 反馈 / Bug report
about: 出问题了 / Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**简略描述 / Describe the bug**
大概说下是什么问题。
A clear and concise description of what the bug is.

**如何重现 / To Reproduce**
重现的步骤:
1. 打开什么什么
2. 点击什么什么
3. 出现什么什么问题
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**预期行为 / Expected behavior**
应该是什么样子的?
A clear and concise description of what you expected to happen.

**截图 / Screenshots**
能截图的话就发截图,请注意风序良俗。
If applicable, add screenshots to help explain your problem.

**设备型号与 Android 版本 / Device model and Android version**
- 设备型号:【比如 Pixel 6 XXXL】
- Android 版本:【比如 Android 12.1】
- Device model: [e.g. Pixel 6 XXXL]
- Android version: [e.g. Android 12.1]

**备注 / Additional context**
还有什么想说的?
Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/sad-panda----------slow-download-speed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Sad Panda / 下载太慢 / Slow download speed
about: 所有其他问题 / All other questions
title: ''
labels: ''
assignees: ''

---

加入我们的 Telegram 群组,[https://t.me/ehviewer](https://t.me/ehviewer)。温柔[大小]姐姐手把手帮你解决问题。
Join our Telegram group, [https://t.me/ehviewer](https://t.me/ehviewer). Administrators will help you solve the problem.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
*.iml
.idea
/captures
release
google-services.json
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# DEPRECATED

[![Telegram](https://img.shields.io/badge/chat-Telegram-blue.svg)](https://t.me/ehviewer)

# EhViewer

![Icon](art/launcher_icon-web.png)
Expand Down Expand Up @@ -31,6 +35,13 @@ Linux
The apk is in app\build\outputs\apk


# Download

[下载](https://github.com/seven332/EhViewer/releases)

[Download](https://github.com/seven332/EhViewer/releases)


# Thanks

本项目受到了诸多开源项目的帮助
Expand All @@ -55,7 +66,7 @@ Here is the libraries

# License

Copyright (C) 2014-2016 Hippo Seven
Copyright (C) 2014-2019 Hippo Seven

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
116 changes: 75 additions & 41 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,31 +1,48 @@
import com.android.build.gradle.internal.tasks.DefaultAndroidTask

apply plugin: 'com.android.application'
apply plugin: 'android-chinese-string'

if (file('google-services.json').exists()) {
apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'
}

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 28

defaultConfig {
applicationId "com.hippo.ehviewer"
minSdkVersion 14
targetSdkVersion 25
versionCode 77
versionName "1.0.24"
targetSdkVersion 28
versionCode 104
versionName "1.7.3"
vectorDrawables.useSupportLibrary = true
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
"es"
"es", "ja", "ko", "fr", "de", "th"
testOptions.unitTests.includeAndroidResources = true
ndk {
abiFilters "armeabi-v7a", "x86"
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
disable 'MissingTranslation'
abortOnError true
checkReleaseBuilds true
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField 'String', 'FILE_PROVIDER_AUTHORITY', '"com.hippo.ehviewer.fileprovider"'
}
debug {
applicationIdSuffix ".debug"
buildConfigField 'String', 'FILE_PROVIDER_AUTHORITY', '"com.hippo.ehviewer.debug.fileprovider"'
}
}

Expand All @@ -42,7 +59,7 @@ task copyNotice(type: Copy) {
finalizedBy ":daogenerator:executeDaoGenerator"
}

tasks.withType(DefaultAndroidTask) {
tasks.withType(JavaCompile) {
task -> task.dependsOn copyNotice
}

Expand All @@ -51,35 +68,52 @@ clean {
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile "com.android.support:appcompat-v7:$supportLibrary"
compile "com.android.support:design:$supportLibrary"
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
compile 'com.github.seven332:android-recaptcha:2bbb3459a8'
compile 'com.github.seven332:animator:0.1.0'
compile 'com.github.seven332:beerbelly:0.1.4'
compile 'com.github.seven332:conaco:0.1.5-eh'
compile 'com.github.seven332:drawerlayout:0.2.1'
compile 'com.github.seven332:easyrecyclerview:0.1.1'
compile 'com.github.seven332:glgallery:0.1.2'
compile 'com.github.seven332:glview:0.1.0'
compile 'com.github.seven332:glview-image:0.1.0'
compile 'com.github.seven332:hotspot:0.1.0'
compile 'com.github.seven332:image:0.1.12'
compile 'com.github.seven332:okhttp:3.5.0'
compile 'com.github.seven332:refreshlayout:0.1.0'
compile 'com.github.seven332:ripple:0.1.2'
compile 'com.github.seven332:streampipe:0.1.0'
compile 'com.github.seven332:tuxiang:0.1.2'
compile 'com.github.seven332:unifile:0.2.0'
compile 'com.github.seven332:yorozuya:0.1.2'
compile 'com.github.seven332:yorozuya-thread:0.1.1'
compile 'com.github.seven332:yorozuya-collect:0.1.4'
compile 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.9.2'
compile 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
compile 'org.greenrobot:greendao:2.2.0'
compile 'org.jsoup:jsoup:1.9.2'
testCompile 'junit:junit:4.12'
testCompile 'org.robolectric:robolectric:3.4'
testCompile 'org.jooq:joor:0.9.6'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.firebase:firebase-core:16.0.9'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.getkeepsafe.relinker:relinker:1.3.1'
implementation 'com.github.amlcurran.showcaseview:library:5.4.3'
implementation 'com.github.seven332.a7zip:extract-lite:d4ddec5793'
implementation 'com.github.seven332:android-recaptcha:2bbb3459a8'
implementation 'com.github.seven332:android-resource:0.1.0'
implementation 'com.github.seven332:animator:0.1.0'
implementation 'com.github.seven332:beerbelly:0.1.4'
implementation 'com.github.seven332:conaco:0.1.5-eh'
implementation 'com.github.seven332:drawerlayout:ea2bb388f0'
implementation 'com.github.seven332:easyrecyclerview:0.1.1'
implementation 'com.github.seven332:glgallery:0.1.2'
implementation 'com.github.seven332:glview:0.1.0'
implementation 'com.github.seven332:glview-image:0.1.0'
implementation 'com.github.seven332:hotspot:0.1.0'
implementation 'com.github.seven332:image:0.1.12'
implementation 'com.github.seven332:refreshlayout:0.1.0'
implementation 'com.github.seven332:ripple:0.1.2'
implementation 'com.github.seven332:streampipe:0.1.0'
implementation 'com.github.seven332:tuxiang:0.1.6'
implementation 'com.github.seven332:unifile:9ec57bcd8f'
implementation 'com.github.seven332:yorozuya:0.1.2'
implementation 'com.github.seven332:yorozuya-thread:0.1.1'
implementation 'com.github.seven332:yorozuya-collect:0.1.4'
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
implementation 'com.squareup.okhttp3:okhttp:3.12.3'
implementation 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
implementation 'org.greenrobot:greendao:2.2.1'
implementation 'org.jsoup:jsoup:1.12.1'
testImplementation 'junit:junit:4.12'
testImplementation 'org.robolectric:robolectric:4.2.1'
testImplementation 'org.jooq:joor:0.9.6'
}

configurations.all {
resolutionStrategy {
force 'com.github.seven332:glgallery:25893283ca'
force 'com.github.seven332:glview:ba6aee61d7'
force 'com.github.seven332:glview-image:68d94b0fc2'
force 'com.github.seven332:image:09b43c0c68'

exclude group: 'com.github.seven332', module: 'okhttp'
}
}
Binary file removed app/libs/libGoogleAnalyticsServices.jar
Binary file not shown.
22 changes: 22 additions & 0 deletions app/src/debug/res/values-es/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>

<string name="app_name">EhViewer Debug</string>

</resources>
22 changes: 22 additions & 0 deletions app/src/debug/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>

<string name="app_name">EhViewer Debug</string>

</resources>
22 changes: 22 additions & 0 deletions app/src/debug/res/values-ko/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>

<string name="app_name">EhViewer Debug</string>

</resources>
22 changes: 22 additions & 0 deletions app/src/debug/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2016 Hippo Seven
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<resources>

<string name="app_name">EhViewer Debug</string>

</resources>
Loading