From 6d0f394efcc916f51a7aa7ddddcbd9032d44cec0 Mon Sep 17 00:00:00 2001 From: Tony Shen Date: Mon, 16 Jan 2023 14:16:49 +0800 Subject: [PATCH] update version --- build.gradle | 4 ++-- core/src/main/java/com/safframework/rxcache/RxCache.java | 5 +++++ gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 9382658..f00a30f 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ ext { libraries = [ kotlinx_cli : "0.3.2", - kotlinx_coroutines_core : "1.6.1", + kotlinx_coroutines_core : "1.6.4", joor_java : "0.9.14", @@ -60,7 +60,7 @@ dependencies { } buildscript { - ext.kotlin_version = '1.6.21' + ext.kotlin_version = '1.7.21' repositories { jcenter() diff --git a/core/src/main/java/com/safframework/rxcache/RxCache.java b/core/src/main/java/com/safframework/rxcache/RxCache.java index 406ecc0..bf4ebd7 100644 --- a/core/src/main/java/com/safframework/rxcache/RxCache.java +++ b/core/src/main/java/com/safframework/rxcache/RxCache.java @@ -271,6 +271,11 @@ public boolean containsKey(String key) { return cacheRepository.containsKey(key); } + /** + * 校验 RxCache 是否可以获取这个 key + * @param key + * @return + */ public boolean checkKey(String key) { return cacheRepository.checkKey(key); } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f2e1eb1..5416585 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip