Compare commits

..

No commits in common. "c6089ae67c19aef4650a4c37022a59132680b52b" and "e31b26a3171c1b6518dae623fb9ec3f86a55cfa6" have entirely different histories.

5 changed files with 8 additions and 21 deletions

View File

@ -68,20 +68,8 @@ android {
baseline file('lint-baseline.xml')
}
namespace 'com.coldmint.rust.pro'
gradle.taskGraph.whenReady {
tasks.each { task ->
if (task.name.contains("uploadCrashlyticsMappingFileRelease")) {
task.enabled = false
}
}
}
}
configurations.all {
resolutionStrategy {
force 'org.jetbrains.kotlin:kotlin-stdlib:1.6.0'
}
}
dependencies {
configurations.all {

View File

@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 28,
"versionName": "2.1 Bata6(2023-7-20)",
"versionCode": 23,
"versionName": "2.1 Bata1_patch6(2022-10-1)",
"outputFile": "app-release.apk"
}
],

View File

@ -38,8 +38,7 @@ android {
dependencies {
implementation 'com.google.code.gson:gson:2.8.8'
implementation "com.squareup.okhttp3:okhttp:4.9.1"
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.2'
implementation "com.squareup.okhttp3:mockwebserver:4.9.1"
implementation "androidx.room:room-runtime:2.4.0"
//Room
annotationProcessor "androidx.room:room-compiler:2.4.0"

View File

@ -1,10 +1,11 @@
package com.coldmint.rust.core.web
import android.os.Environment
import android.util.Log
import com.coldmint.rust.core.debug.LogCat
import com.coldmint.rust.core.tool.FileOperator
import okhttp3.*
import okhttp3.logging.HttpLoggingInterceptor
import java.io.File
import java.io.IOException
import java.net.Proxy
import java.net.ProxySelector
@ -13,6 +14,7 @@ import java.net.URI
import java.text.ParseException
import java.text.SimpleDateFormat
import java.util.*
import java.util.concurrent.TimeUnit
/**
* 服务器配置
@ -140,9 +142,7 @@ object ServerConfiguration {
}
})
val loggingInterceptor = HttpLoggingInterceptor()
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY)
builder.addInterceptor(loggingInterceptor)
return builder.build()
}

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip