Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from DSAppTeam:master #46

Open
wants to merge 240 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
e6c0061
add video source
YummyLau Jul 18, 2018
da0f6db
update swhelper readme
YummyLau Jul 27, 2018
64b1447
add video
YummyLau Jul 27, 2018
1f0ac89
update readme
YummyLau Jul 27, 2018
6242314
video 2 gif readme
YummyLau Jul 27, 2018
3e06661
update readme
YummyLau Jul 27, 2018
9665e84
popup升级,修复部分切换bug
YummyLau Dec 14, 2018
8c4f59b
panel支持popupwindow,修复9.0手机焦点获取逻辑异常,优化切换流程
YummyLau Dec 29, 2018
7ece520
remove popupwindow code,add to feature
YummyLau Dec 29, 2018
1adb965
dependence panelSwitchHelper lib
YummyLau Dec 29, 2018
ab24a82
支持android O 焦点逻辑,支持视频全屏场景切换面板
YummyLau Jul 8, 2019
f966624
Merge branch 'feature/popup_feature'
YummyLau Jul 8, 2019
2caaec4
update to 1.0.1
YummyLau Jul 8, 2019
84ddda8
update licenses
YummyLau Jul 11, 2019
6a1ca42
delete liceses
YummyLau Jul 11, 2019
dd0cae6
update compile version and travis's config
YummyLau Jul 12, 2019
074db69
fix licenses problem
YummyLau Jul 12, 2019
6348d25
update before_install
YummyLau Jul 12, 2019
c93f9e7
update
YummyLau Jul 12, 2019
6900f7c
add androidhome
YummyLau Jul 12, 2019
1bc70e0
add sdkmanager path
YummyLau Jul 12, 2019
0cf8982
fix
YummyLau Jul 12, 2019
fea9cfd
fix
YummyLau Jul 12, 2019
ca2d2a3
add trusty
YummyLau Jul 12, 2019
f9f06e0
try
YummyLau Jul 12, 2019
fac2d80
try trusty ci.yml
YummyLau Jul 12, 2019
df567e6
新增1.0.1示例图
YummyLau Oct 11, 2019
af4f937
upadte readme gif
YummyLau Oct 11, 2019
744b602
新增支持列表滑动时消费down事件隐藏面板同时支持传递事件给滑动列表,提升用户体验
YummyLau Nov 5, 2019
640ad88
升级更新1.0.2,微信式滑动列表收起面板同时列表响应滑动事件,提升用户体验
YummyLau Nov 5, 2019
9b6d059
update 1.0.3 修复issue10
YummyLau Nov 6, 2019
68f0884
新增dialogfragment/fragment支持
YummyLau Nov 15, 2019
f87cc69
新增多场景demo,等待完成
YummyLau Nov 17, 2019
493300e
更新添加dialog,fragment,dialogfragment 支持
YummyLau Nov 18, 2019
d223502
fix ci build error,更换demo版本1.0.4
YummyLau Nov 18, 2019
38dc3f2
update readm
YummyLau Nov 18, 2019
6078068
update english readme
YummyLau Nov 18, 2019
e079755
支持华为小米动态隐藏导航栏适配,升级1.0.5
YummyLau Nov 26, 2019
a6dff95
update ignore
YummyLau Mar 17, 2020
7e6377b
merge
YummyLau Mar 17, 2020
469944d
Merge branch 'master' into develop
YummyLau Mar 17, 2020
0258f9f
尝试摒弃重构输入法框架,支持无缝动画
YummyLau Mar 17, 2020
1b3c974
重构整个输入法切换框架,移除旧版使用 weight+Runnable延迟切换,使用新版 layout+动画无缝衔接!
YummyLau Mar 18, 2020
e09d617
迁移helper逻辑到swtichLayout管理,layout布局为代理切换功能,helper负责暴露api
YummyLau Mar 18, 2020
75c3180
优化根布局切换绘制
YummyLau Mar 18, 2020
bb86bdf
builder构造器优化,迁移输入法高度切换到switchLayout
YummyLau Mar 18, 2020
96d0408
兼容系统拦截输入法隐藏输入法
YummyLau Mar 18, 2020
dcbc5e0
完全兼容fragment常见下的四种复杂常见
YummyLau Mar 18, 2020
5369a55
兼容popup,dialogFragment
YummyLau Mar 18, 2020
e09cbdf
popupwindow优化,调整视频常见,使得本来业务沉重的视频常见更加独立处理输入发送常见
YummyLau Mar 18, 2020
e577c4e
使用固定坐标+全屏幕宽高+导航栏条件联合处理动态变化的高度。提测阶段
YummyLau Mar 19, 2020
3493255
兼容性测试中,国产手机支持完全隐藏导航栏或者动态隐藏显示导航栏
YummyLau Mar 19, 2020
6c1b75d
demo面板默认不透明
YummyLau Mar 19, 2020
c682c3c
新版本无需关注内存泄漏,内部移除runnable延迟操作
YummyLau Mar 19, 2020
59a9fe2
面板切换前提前滚动列表内容
YummyLau Mar 19, 2020
a5f75e8
opt code
YummyLau Mar 19, 2020
73cde43
拦截系统隐藏输入法,调整动画到最优
YummyLau Mar 19, 2020
b450426
新增动画速度等级功能
YummyLau Mar 19, 2020
67ccf29
update readme
YummyLau Mar 19, 2020
a8166eb
1.1.0动画版本发布
YummyLau Mar 19, 2020
db0ec81
update readme
YummyLau Mar 19, 2020
592d98f
update readMe
YummyLau Mar 19, 2020
b1b2b2d
Update README.md
YummyLau Mar 22, 2020
e8b08fd
Update README-zh.md
YummyLau Mar 22, 2020
bc96d09
develop新增小米,华为,oppo,vivo,三星,官方等计算刘海逻辑
YummyLau Mar 27, 2020
5019a0f
新增水滴屏,刘海屏,全面屏兼容,优化逻辑
YummyLau Mar 28, 2020
7744969
兼容异型屏幕,输入法切换时切换优化
YummyLau Mar 28, 2020
fae0039
新增支持没有emptyview场景如何处理IM类聊天复杂交互,优化layout的次数提升流畅度
YummyLau Mar 28, 2020
7ade45c
调整动态速度等级,默认动画时间和输入法切换时间相同,200ms
YummyLau Mar 28, 2020
15a90ee
优化api调用,无需绑定switchLayout的id
YummyLau Mar 28, 2020
3dc63ce
add gif and update readme
YummyLau Mar 29, 2020
e294ac0
Merge branch 'develop'
YummyLau Mar 29, 2020
5399f02
1.1.1发布
YummyLau Mar 29, 2020
fc8e25e
update readme
YummyLau Mar 29, 2020
eb39dd5
优化点击列表隐藏面板时面板layout可能导致的界面卡顿问题
YummyLau Apr 18, 2020
8f7d011
限制contain区域的绘制
YummyLau Apr 19, 2020
deb3339
新增两种模式兼容滑动内容,支持内容区域不滑动到外部场景
YummyLau Apr 20, 2020
3314a60
删除过期switchLayoutid的设置api,新增控制是否滑动内容区域到外部的api,用于兼容部分im场景数据过少场景
YummyLau Apr 20, 2020
54f6c70
update read me
YummyLau Apr 20, 2020
eab0b6f
update 1.1.2 done
YummyLau Apr 20, 2020
95dfa3e
Merge branch 'develop'
YummyLau Apr 20, 2020
309f899
Update README.md
YummyLau Apr 20, 2020
9591ec9
Update README-zh.md
YummyLau Apr 20, 2020
d4a229c
新增去除api非公开sdk反射方法,适配googleplay渠道,优化非滑动模式下的实现
YummyLau Apr 27, 2020
e16b732
Merge branch 'master' into develop
YummyLau Apr 27, 2020
dfae6c3
发布1.1.3兼容谷歌渠道,优化固定模式的实现
YummyLau Apr 27, 2020
a31c066
Merge branch 'master' of https://github.com/YummyLau/PanelSwitchHelper
YummyLau Apr 27, 2020
033f043
#0抽象ContentContainer行为,扩展支持基础三种布局
YummyLau May 7, 2020
3309af3
#0扩展支持多种基础布局的contentContainer
YummyLau May 8, 2020
6be4132
#0demo新增扩展支持约束布局,使用者可自定义自己的contentContainer
YummyLau May 8, 2020
10021cc
#0新增kotlin版本支持dsl调用
YummyLau May 8, 2020
10a1a08
#0update demo to 1.2.0,update readme
YummyLau May 8, 2020
5c8dac5
Merge branch 'master' of https://github.com/YummyLau/PanelSwitchHelper
YummyLau May 8, 2020
33748a0
[bugfix][组件id 引用错误]:组件 id 引用错误,被覆盖了,会导致输入框隐藏掉
krishnakant May 16, 2020
6511e1f
Merge pull request #28 from uni7corn/master
YummyLau May 17, 2020
efbfaf3
update v1.2.2 优化动画
YummyLau May 17, 2020
6c01434
#0分离设备信息独立管理,新增兼容android pad
YummyLau May 24, 2020
ab708fa
#0v1.2.3 for android pag
YummyLau May 24, 2020
3f80648
update readme for v1.2.3 about android pad
YummyLau May 24, 2020
41ab38e
扩展IPanelView,支持自定义IPanelView扩展面板,删除Container 旧api,调整panel及content包
Jun 1, 2020
2b7f34b
移除emptyView的点击隐藏实现。统一使用aotu reset 逻辑新api
Jun 1, 2020
012173c
优化逻辑,新增bilibili视频场景
YummyLau Jun 2, 2020
c187297
完整封装dialog,实现微信朋友圈效果,兼容聊天模块,优化输入法切换
YummyLau Jun 4, 2020
916f248
完善外层reset逻辑,新增虎牙直播竖屏场景
YummyLau Jun 4, 2020
c6f18d8
开放两种自动点击container reset 的功能api
YummyLau Jun 5, 2020
688d478
新增抖音/虎牙/bilibili/微信朋友圈场景,优化事件分发,预发版版本
YummyLau Jun 5, 2020
7a81451
动画过度只关注大场景的更改
YummyLau Jun 5, 2020
a6675a4
解决部分列表因为绘制时机与window隐藏交叉导致可能ui错位的问题
YummyLau Jun 6, 2020
ef5807b
新增auto reset 场景,新增自定义 PanelView 场景
YummyLau Jun 6, 2020
95a04c2
update 1.3.0
YummyLau Jun 7, 2020
2b5be1e
update readme
YummyLau Jun 7, 2020
c52a728
update English Doc
YummyLau Jun 7, 2020
f94fa4a
Update README-zh.md
YummyLau Jun 7, 2020
abe7400
Update README_SENCE.md
YummyLau Jun 8, 2020
699e8b8
add wechat group code
YummyLau Jun 8, 2020
fccf2b0
androidx version
YummyLau Jun 9, 2020
2bca76f
非androidx模块处理demo焦点问题
YummyLau Jun 9, 2020
89b69bf
androidx version for 1.3.0
YummyLau Jun 9, 2020
9d9470a
support androidx
YummyLau Jun 9, 2020
bd21c34
兼容部分rom比如红米/oppo findx系统界面底部存在用于消费手势的布局导致输入法高度计算有偏差
YummyLau Jun 12, 2020
3c991e6
update readme
YummyLau Jun 12, 2020
122ad24
#0support preview layout
YummyLau Jun 17, 2020
71bfeed
update v1.3.2 优化动画,支持xml预览,修复demo存在背景时切换面板背景在面板区域可见的问题
Jun 27, 2020
22d8252
兼容使用autosize库的项目
YummyLau Jun 30, 2020
e71d959
#0压缩gif资源,提供从二维码下载demo
YummyLau Jul 1, 2020
875c455
rename demo name
YummyLau Jul 1, 2020
1eb6d63
Create LICENSE
YummyLau Jul 1, 2020
83b6533
Merge pull request #59 from YummyLau/add-license-1
YummyLau Jul 1, 2020
d2e49a6
#0解决pager可能主动销毁多个聊天fragment时内存泄漏
YummyLau Jul 3, 2020
f1b3318
Merge branch 'master' of https://github.com/YummyLau/PanelSwitchHelper
YummyLau Jul 3, 2020
6828964
#移除leak leakcanary 依赖
YummyLau Jul 3, 2020
23ab757
升级v1.3.3
YummyLau Jul 9, 2020
53a7d31
#1.3.3 qrcode for download
YummyLau Jul 9, 2020
b97347b
update readme
YummyLau Jul 9, 2020
36de319
v1.3.4 version
YummyLau Jul 13, 2020
408d5a7
update readme
YummyLau Jul 13, 2020
b5bb886
#适配 AndroidQ 全屏虚拟导航栏手势模式
YummyLau Jul 17, 2020
10c8615
优化软件盘计算逻辑,新增demo视频横屏播放全屏场景
Jul 19, 2020
1e79dd8
#0同步非androidx版本code,40mdemo视频 -> 2m
YummyLau Jul 20, 2020
b50ba62
#新增控制切换速度api,减小demo包体
YummyLau Jul 20, 2020
503a528
#1.3.7 兼容UI系统为OneUI2前的s8/note8等三星设备
YummyLau Aug 17, 2020
a8f1380
#1.3.8 支持自由控制面板高度是否同步软件盘高度,支持多层嵌套布局自由滑动
YummyLau Aug 19, 2020
a70cc5d
#0方案一,使用临时面板过渡全屏输入法
YummyLau Sep 3, 2020
aabcb14
#1.3.10-beta支持全屏模式,优化已知逻辑
YummyLau Sep 4, 2020
c38c528
#update readme
YummyLau Sep 4, 2020
e7dfb11
#update readme
YummyLau Sep 4, 2020
5db7815
#0fix focus auto get
YummyLau Sep 30, 2020
e4fde32
#0解决点击recyclerview隐藏面板
YummyLau Oct 7, 2020
61c990d
#1.3.10支持全屏,支持额外设置EditText唤起面板,优化部分场景
YummyLau Oct 7, 2020
cb91a37
#v1.3.11发布,修复MIUI手机横屏全屏显示异常,优化log显示,统一自定义属性扩展
YummyLau Nov 9, 2020
7a6948b
#0修复issue116 部分Rom在InputType设置为NULL且焦点转移时自动隐藏输入法的问题
YummyLau Nov 26, 2020
494f211
#0修复issue 悬浮窗场景无法隐藏的问题
YummyLau Nov 26, 2020
d4aa873
#v1.3.12
YummyLau Nov 26, 2020
9caab0e
v1.3.13 兼容部分手机锁屏收起输入法问题;兼容华为定制平板问题;优化全屏显示速度;
YummyLau Dec 11, 2020
6d12abc
#0优化demo recyclerview动态隐藏面板场景
YummyLau May 7, 2021
4121355
Update README_SENCE-zh.md
YummyLau May 20, 2021
defb658
fix bug samsung s8+
chihung93 Aug 16, 2021
51f14d4
Merge commit '4121355f1fc1fb0a91e7342a3cdd7cba51cb8bbc' into bugs/fix…
chihung93 Aug 16, 2021
995ccd4
add more check navigationbar
chihung93 Aug 17, 2021
4c18b2a
Merge branch 'master' of https://github.com/YummyLau/PanelSwitchHelper
YummyLau Oct 12, 2021
79258b8
#解决三星输入法切换谷歌输入法时界面隐藏异常;新增像素转化接口兼容autoSize项目;新增setTriggerViewClickInte…
YummyLau Oct 12, 2021
8a934a2
Merge pull request #149 from chihung93/bugs/fix_bug_ss_s8_plus
YummyLau Oct 12, 2021
6304b52
Merge branch 'master' of https://github.com/YummyLau/PanelSwitchHelper
YummyLau Oct 12, 2021
097f06c
#0迁移jitpack
YummyLau Oct 12, 2021
009e685
#0support v1.4.0
YummyLau Oct 12, 2021
9c26d13
#0update demo qrcode
YummyLau Oct 12, 2021
27d9f2c
#0更新横屏视频显示
YummyLau Nov 5, 2021
027eed5
# Android 11 获取键盘高度
Jun 17, 2022
ac4fded
# Android 11 获取键盘高度
Jun 17, 2022
cb23923
#59709 支持悬浮窗口特性
Jun 22, 2022
4cec923
# Android 11 键盘过渡动画
Jul 6, 2022
024cf53
# Android 11 键盘过渡动画,控件干预实现
Jul 7, 2022
5e5ca56
# Android 11 键盘过渡动画,onLayout放跳过原方案自定义onLayout实现部分
Jul 7, 2022
8313baa
# fix bug: Fatal Exception: java.lang.IllegalStateException #161
Jul 7, 2022
3b0135e
1、target Api = 31
Jul 8, 2022
be60858
添加键盘过渡动画开关,默认关闭
Jul 8, 2022
d5be72d
Fix Resources$NotFoundException at DisplayUtil.kt
Jul 8, 2022
f3d6138
Android 12 键盘高度变化时,同步输入面板高度
Jul 13, 2022
8342654
# 表情面板高度 > 键盘高度时,从面板切换至输入法时过渡动画
Jul 14, 2022
a106965
# 兼容键盘高度获取异常的问题
Jul 15, 2022
f284967
#0 修复Activity场景,无法发送消息的问题
Jul 15, 2022
4edf070
#0 发现 三星 Galaxy Note 10+ 5G ,在导航栏设置中开启显示可隐藏键盘的按钮时,显示键盘过程中导航栏高度会变化,导致布局异常
Jul 18, 2022
14060ad
#0 默认开启Android 11 键盘动画特性
Jul 18, 2022
c4e1009
#0 更新gradle配置
Aug 9, 2022
42c356b
#0 修复输入框动态变化后,导致列表位置不准备的问题
Aug 11, 2022
8d796c9
#0 Dialog 场景支持Android 11 键盘动画效果
Aug 30, 2022
348d38e
Merge branch 'android_11'
Aug 30, 2022
5898206
#0 Android 11 键盘动画特性判断
Aug 30, 2022
7b31ad6
v1.5.0 版本发布
Aug 30, 2022
8dfab1d
#173 【修复bug】RecycleView在最下面一屏的时候,把item滑动到倒数第二条的位置,直接点击表情按钮会发生回弹,表情界面会…
Sep 14, 2022
8c93b7d
修复v1.5.0版本,滑动距离干预不准确的问题
Sep 19, 2022
45f1638
发布v1.5.1版本,修复子view滑动距离计算错误的问题
Sep 20, 2022
9a47ed1
v1.5.2版本,修复Android 11以上布局偏移量变化后,布局位置没有同步的问题。
Oct 14, 2022
c293ee7
添加EditText问题
Oct 24, 2022
12a6101
Merge pull request #180 from chenkexu/branch_edittext
HeroZ-Dodge Nov 2, 2022
2ef246a
ScrollView & EditText问题
Nov 3, 2022
d28981f
两个编辑框,焦点错乱 #179
Nov 3, 2022
c6cd68a
Keyboard problem on Backberry #182
Nov 4, 2022
706bba4
WindowInsetsAnimationCompat加一个标记可能更好一点 #184
Nov 23, 2022
7fde3af
优化viewPosition位置变化的监听
Nov 23, 2022
9e799d1
提交Demo代码
Nov 23, 2022
d6dbe1b
快速滑动列表时,偏移量计算异常的问题
Dec 1, 2022
4b505c6
#0 输出snapshot包
Dec 1, 2022
2fae01d
EditText场景
Dec 5, 2022
b6dbad4
修复bug发布1.5.3版本
Mar 13, 2023
5dddcd6
#186问题
Mar 18, 2023
e731ef9
Merge pull request #187 from BianXiaoYan/master
HeroZ-Dodge Mar 31, 2023
6e51f23
Update README.md
YummyLau Apr 19, 2023
92440cd
Update README-zh.md
YummyLau Apr 19, 2023
b64cf15
更新demo
Apr 23, 2023
d1b405a
修改PanelSwitchLayout属性enableKeyboardAnimator命名为android11KeyboardFeature
Apr 26, 2023
1b34e36
更新日志,提交1.5.4
Apr 26, 2023
e88e3e4
发布1.5.4
Apr 26, 2023
09269ab
更新README
Apr 26, 2023
61b6b66
Update README.md
YummyLau May 14, 2023
75ee6ae
Update README-zh.md
YummyLau May 14, 2023
06b5150
添加ViewPager 、ViewPager2场景用例
Aug 1, 2023
f19c3e5
Merge remote-tracking branch 'origin/master'
Aug 1, 2023
05e5002
添加ViewPager 、ViewPager2场景用例
Oct 19, 2023
9a97e97
发布v1.5.5
Oct 19, 2023
bb0ee01
Git仓库瘦身-发布v1.5.6
Oct 19, 2023
ae28576
点击表情面板时,EditText焦点丢失,光标不显示 #201
Jan 2, 2024
73ae23c
自定义EditText 不弹出键盘 #192
Jan 2, 2024
64689d4
发布1.5.7版本
Jan 4, 2024
fe579ac
更新README
Jan 4, 2024
52077ce
更新README
Jan 30, 2024
dc31676
更新README
Jan 31, 2024
bd44139
修复全屏模式下,EditView获得焦点后无法弹出输入面板的问题
Apr 11, 2024
877e8ed
发布1.5.8版本
Apr 11, 2024
b18002b
更新Demo APK v1.5.8版本
Apr 11, 2024
ef98482
更新Demo APK v1.5.9版本,对外提供 updatePanelStateDirect 方法,允许设置输入面板的默认高度
Jul 10, 2024
cd1cd81
更新Demo APK v1.5.9版本,对外提供 updatePanelStateDirect 方法,允许设置输入面板的默认高度
Jul 10, 2024
4a8c1a7
v1.5.10版本 PanelSwitchLayout 默认垂直方向
Jul 23, 2024
32497da
修改 PageIndicatorView 依赖
Aug 30, 2024
73d9849
B站视频播放示例
Aug 30, 2024
c1aed68
修改 PageIndicatorView 依赖
Aug 30, 2024
04b4f2a
移除Android 11获取键盘高度方案
Sep 12, 2024
f9d65a8
发布v1.5.11版本,移除Android 11获取键盘高度方案
Sep 12, 2024
db8b582
发布v1.5.11版本,移除Android 11获取键盘高度方案
Sep 20, 2024
bcd0083
发布v1.5.12版本,修复键盘无法隐藏的问题
Sep 20, 2024
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
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
.DS_Store
.idea
/build
/captures
.externalNativeBuild
49 changes: 0 additions & 49 deletions .idea/assetWizardSettings.xml

This file was deleted.

Binary file removed .idea/caches/build_file_checksums.ser
Binary file not shown.
29 changes: 0 additions & 29 deletions .idea/codeStyles/Project.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/gradle.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/markdown-navigator/profiles_settings.xml

This file was deleted.

109 changes: 0 additions & 109 deletions .idea/misc.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

55 changes: 34 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,43 @@
language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - tools
# - platform-tools

# The BuildTools version used by your project
- build-tools-27.0.3
dist : trusty
sudo: required
jdk: oraclejdk8

# The SDK version used to compile your project
- android-27
env:
global:
- ANDROID_API_LEVEL=29
- ANDROID_BUILD_TOOLS_VERSION=29.0.1
- ANDROID_ABI=armeabi-v7a

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
android:
components:
- tools
- platform-tools
- tools
- extra-android-m2repository
- addon-google_apis-google-26


licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'

# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-armeabi-v7a-android-26
# - sys-img-armeabi-v7a-android-17
before_install:
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager "platforms;android-29"
- yes | sdkmanager "build-tools;29.0.1"

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

before_script:
- chmod +x gradlew

script:
- ./gradlew clean build
- ./gradlew test
Loading