mirror of
https://github.com/czp3009/bilibili-api.git
synced 2024-12-21 20:30:28 +08:00
更新依赖
This commit is contained in:
parent
2f1a765f5a
commit
1209a96e5a
@ -49,7 +49,7 @@ dependencies {
|
|||||||
// https://mvnrepository.com/artifact/io.github.microutils/kotlin-logging
|
// https://mvnrepository.com/artifact/io.github.microutils/kotlin-logging
|
||||||
compile group: 'io.github.microutils', name: 'kotlin-logging', version: '1.6.25'
|
compile group: 'io.github.microutils', name: 'kotlin-logging', version: '1.6.25'
|
||||||
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
|
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
|
||||||
testCompile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
|
testCompile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.26'
|
||||||
}
|
}
|
||||||
|
|
||||||
//http
|
//http
|
||||||
|
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
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
|
||||||
|
@ -41,6 +41,7 @@ import javax.crypto.Cipher
|
|||||||
* @param billingClientProperties 客户端的固有属性, 是一种常量
|
* @param billingClientProperties 客户端的固有属性, 是一种常量
|
||||||
* @param logLevel 日志打印等级
|
* @param logLevel 日志打印等级
|
||||||
*/
|
*/
|
||||||
|
@Suppress("unused")
|
||||||
class BilibiliClient(
|
class BilibiliClient(
|
||||||
@Suppress("MemberVisibilityCanBePrivate")
|
@Suppress("MemberVisibilityCanBePrivate")
|
||||||
val billingClientProperties: BilibiliClientProperties = BilibiliClientProperties(),
|
val billingClientProperties: BilibiliClientProperties = BilibiliClientProperties(),
|
||||||
@ -54,13 +55,11 @@ class BilibiliClient(
|
|||||||
/**
|
/**
|
||||||
* 登陆操作得到的 Response
|
* 登陆操作得到的 Response
|
||||||
*/
|
*/
|
||||||
@Suppress("MemberVisibilityCanBePrivate")
|
|
||||||
var loginResponse: LoginResponse? = null
|
var loginResponse: LoginResponse? = null
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否已登录
|
* 是否已登录
|
||||||
*/
|
*/
|
||||||
@Suppress("MemberVisibilityCanBePrivate")
|
|
||||||
val isLogin
|
val isLogin
|
||||||
get() = loginResponse != null
|
get() = loginResponse != null
|
||||||
|
|
||||||
|
@ -31,5 +31,5 @@ fun InputStream.boundedReader(maxCharsFromTargetReader: Int, charset: Charset =
|
|||||||
|
|
||||||
fun InputStream.bounded(size: Long) = BoundedInputStream(this, size)
|
fun InputStream.bounded(size: Long) = BoundedInputStream(this, size)
|
||||||
|
|
||||||
@Suppress("EXPERIMENTAL_API_USAGE")
|
@UseExperimental(ExperimentalUnsignedTypes::class)
|
||||||
fun InputStream.bounded(size: UInt) = bounded(size.toLong())
|
fun InputStream.bounded(size: UInt) = bounded(size.toLong())
|
||||||
|
Loading…
Reference in New Issue
Block a user