Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiaoxuan_i809
AndroidUtilCode
提交
6f0974c8
A
AndroidUtilCode
项目概览
xiaoxuan_i809
/
AndroidUtilCode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AndroidUtilCode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6f0974c8
编写于
4月 10, 2020
作者:
B
Blankj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
see 04/10 log
上级
11dff44f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
3 addition
and
43 deletion
+3
-43
CHANGELOG.md
CHANGELOG.md
+1
-1
build.gradle
build.gradle
+0
-27
feature/utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/Config.kt
...lcode/pkg/src/main/java/com/blankj/utilcode/pkg/Config.kt
+2
-15
未找到文件。
CHANGELOG.md
浏览文件 @
6f0974c8
*
`20/04/10`
[fix] FileUtils#isFileExists; FragmentUtils#getTop bug. Publish v1.27.6.
*
`20/04/09`
[add] UriUtils#res2Uri; ThreadUtils#getMainHandler; PathUtils#getxxPathExternalFirst.
*
`20/04/09`
[add] UriUtils#res2Uri
, UriUtils#uri2File support QQBrowser
; ThreadUtils#getMainHandler; PathUtils#getxxPathExternalFirst.
*
`20/04/08`
[fix] ActivityUtils#finish bug. Publish v1.27.5.
*
`20/04/08`
[fix] CleanUtils clean dir not work. FileUtils#isFileExists. Publish v1.27.4.
*
`20/04/08`
[fix] CrashUtils DefaultUncaughtExceptionHandler is wrong; LogUtils write file failed; Utils#getApp failed run on remote process. Publish v1.27.3.
...
...
build.gradle
浏览文件 @
6f0974c8
...
...
@@ -8,18 +8,6 @@ buildscript {
url
new
File
(
"mavenLocal"
)
}
}
maven
{
url
'https://maven.aliyun.com/repository/public'
name
'replace jcenter() and mavenCentral()'
}
maven
{
url
'https://maven.aliyun.com/repository/jcenter'
name
'replace jcenter()'
}
maven
{
url
'https://maven.aliyun.com/repository/google'
name
'replace google()'
}
google
()
jcenter
()
}
...
...
@@ -33,21 +21,6 @@ buildscript {
allprojects
{
repositories
{
maven
{
url
'https://maven.aliyun.com/repository/public'
name
'replace jcenter() and mavenCentral()'
}
maven
{
url
'https://maven.aliyun.com/repository/jcenter'
name
'replace jcenter()'
}
maven
{
url
'https://maven.aliyun.com/repository/google'
name
'replace google()'
}
maven
{
url
"https://jitpack.io"
}
google
()
jcenter
()
}
...
...
feature/utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/Config.kt
浏览文件 @
6f0974c8
package
com.blankj.utilcode.pkg
import
android.os.Environment
import
com.blankj.utilcode.util.Utils
import
com.blankj.utilcode.util.PathUtils
/**
* ```
...
...
@@ -12,20 +11,8 @@ import com.blankj.utilcode.util.Utils
* ```
*/
object
Config
{
val
FILE_SEP
=
System
.
getProperty
(
"file.separator"
)
val
LINE_SEP
=
System
.
getProperty
(
"line.separator"
)
const
val
TEST_PKG
=
"com.blankj.testinstall"
val
CACHE_PATH
:
String
val
TEST_APK_PATH
:
String
init
{
val
cacheDir
=
Utils
.
getApp
().
externalCacheDir
CACHE_PATH
=
if
(
cacheDir
!=
null
)
{
cacheDir
.
absolutePath
}
else
{
Environment
.
getExternalStorageDirectory
().
absolutePath
}
+
FILE_SEP
TEST_APK_PATH
=
CACHE_PATH
+
"test_install.apk"
}
val
TEST_APK_PATH
:
String
=
PathUtils
.
getCachePathExternalFirst
()
+
FILE_SEP
+
"test_install.apk"
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录