Compare commits
2 Commits
e31b26a317
...
c6089ae67c
Author | SHA1 | Date | |
---|---|---|---|
c6089ae67c | |||
9e2abb7c8a |
|
@ -68,8 +68,20 @@ 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 {
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"versionCode": 23,
|
||||
"versionName": "2.1 Bata1_patch6(2022-10-1)",
|
||||
"versionCode": 28,
|
||||
"versionName": "2.1 Bata6(2023-7-20)",
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -38,7 +38,8 @@ android {
|
|||
|
||||
dependencies {
|
||||
implementation 'com.google.code.gson:gson:2.8.8'
|
||||
implementation "com.squareup.okhttp3:mockwebserver:4.9.1"
|
||||
implementation "com.squareup.okhttp3:okhttp:4.9.1"
|
||||
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.2'
|
||||
implementation "androidx.room:room-runtime:2.4.0"
|
||||
//注释处理器加上Room
|
||||
annotationProcessor "androidx.room:room-compiler:2.4.0"
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
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 java.io.File
|
||||
import okhttp3.logging.HttpLoggingInterceptor
|
||||
import java.io.IOException
|
||||
import java.net.Proxy
|
||||
import java.net.ProxySelector
|
||||
|
@ -14,7 +13,6 @@ import java.net.URI
|
|||
import java.text.ParseException
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
/**
|
||||
* 服务器配置
|
||||
|
@ -142,7 +140,9 @@ object ServerConfiguration {
|
|||
}
|
||||
|
||||
})
|
||||
|
||||
val loggingInterceptor = HttpLoggingInterceptor()
|
||||
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY)
|
||||
builder.addInterceptor(loggingInterceptor)
|
||||
return builder.build()
|
||||
}
|
||||
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
||||
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-7.3.3-bin.zip
|
||||
|
|
Loading…
Reference in New Issue
Block a user