diff --git a/build.gradle.kts b/build.gradle.kts index 42c13f9..a54817b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -41,17 +41,4 @@ tasks.withType { configure { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 -} - -// 用于开发模式,删除本地缓存 -tasks.register("refreshDependencies") { - doLast { - val taboolibFile = File("../../caches/modules-2/files-2.1/io.izzel.taboolib").canonicalFile - taboolibFile.listFiles()?.forEach { module -> - val file = File(taboolibFile, "${module.name}/${taboolib.version.taboolib}") - if (file.exists()) { - file.deleteRecursively() - } - } - } } \ No newline at end of file