diff --git a/buildSrc/src/main/kotlin/simbot.nexus-publish.gradle.kts b/buildSrc/src/main/kotlin/simbot.nexus-publish.gradle.kts
index f240dafad..fa122e716 100644
--- a/buildSrc/src/main/kotlin/simbot.nexus-publish.gradle.kts
+++ b/buildSrc/src/main/kotlin/simbot.nexus-publish.gradle.kts
@@ -1,19 +1,31 @@
/*
- * Copyright (c) 2022-2023 ForteScarlet.
+ * Copyright (c) 2022-2024. ForteScarlet.
*
- * This file is part of Simple Robot.
+ * Project https://github.com/simple-robot/simpler-robot
+ * Email ForteScarlet@163.com
*
- * Simple Robot is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
*
- * Simple Robot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * Lesser GNU General Public License for more details.
+ *
+ * You should have received a copy of the Lesser GNU General Public License
+ * along with this program. If not, see .
*
- * You should have received a copy of the GNU Lesser General Public License along with Simple Robot. If not, see .
*/
import love.forte.gradle.common.core.project.setup
import love.forte.gradle.common.core.repository.Repositories
import love.forte.gradle.common.publication.configure.nexusPublishConfig
import utils.checkPublishConfigurable
+import java.time.Duration
/*
* Copyright (c) 2022 ForteScarlet
@@ -53,6 +65,9 @@ if (userInfo == null) {
}
nexusPublishConfig {
+ transitionCheckMaxRetries = 5000
+ transitionCheckDelayBetween = Duration.ofSeconds(15)
+
projectDetail = P.Simbot
useStaging = project.provider { !project.version.toString().endsWith("SNAPSHOT", ignoreCase = true) }
repositoriesConfig = {
diff --git a/simbot-logger/src/commonTest/kotlin/LoggerLogTests.kt b/simbot-logger/src/commonTest/kotlin/LoggerLogTests.kt
index 3924e97cd..a80d0549f 100644
--- a/simbot-logger/src/commonTest/kotlin/LoggerLogTests.kt
+++ b/simbot-logger/src/commonTest/kotlin/LoggerLogTests.kt
@@ -4,7 +4,7 @@
* Project https://github.com/simple-robot/simpler-robot
* Email ForteScarlet@163.com
*
- * This file is part of the Simple Robot Library.
+ * This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -23,7 +23,6 @@
import love.forte.simbot.logger.LoggerFactory
import love.forte.simbot.logger.logger
-import kotlin.test.Test
/**
@@ -32,7 +31,7 @@ import kotlin.test.Test
*/
class LoggerLogTests {
- @Test
+ //@Test
fun loggerLogTest() {
val logger = LoggerFactory.logger()
logger.info("Hello!")