update gradle.properties
This commit is contained in:
parent
f53b4132dd
commit
706d7a9530
2 changed files with 2 additions and 2 deletions
|
|
@ -316,7 +316,7 @@ object FileUtil {
|
|||
|
||||
fun getCachePath(context: Context) : String {
|
||||
val preference = PreferenceManager.getDefaultSharedPreferences(context).getString("cache_path", "")
|
||||
if (preference.isNullOrBlank() || !File(formatPath(preference)).canWrite()) {
|
||||
if (preference.isNullOrBlank()) {
|
||||
val externalPath = context.getExternalFilesDir(null)
|
||||
return if (externalPath == null){
|
||||
context.cacheDir.absolutePath + "/downloads/"
|
||||
|
|
|
|||
|
|
@ -16,5 +16,5 @@ android.nonFinalResIds=false
|
|||
android.nonTransitiveRClass=false
|
||||
android.suppressUnsupportedCompileSdk=35
|
||||
android.useAndroidX=true
|
||||
org.gradle.jvmargs=-Xmx1536M -Dkotlin.daemon.jvm.options\="-Xmx2048M" -Dfile.encoding\=UTF-8
|
||||
org.gradle.jvmargs=-Xmx4096M -Dkotlin.daemon.jvm.options\="-Xmx2048M" -Dfile.encoding\=UTF-8
|
||||
org.gradle.warning.mode=all
|
||||
|
|
|
|||
Loading…
Reference in a new issue