提交 6f0974c8 编写于 作者: B Blankj

see 04/10 log

上级 11dff44f
* `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.
......
......@@ -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()
}
......
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.
先完成此消息的编辑!
想要评论请 注册