Skip to content

Commit 25f9f8b

Browse files
committed
release: v4.0.0-beta3
1 parent 0dca65b commit 25f9f8b

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

buildSrc/src/main/kotlin/simbot.nexus-publish.gradle.kts

+20-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
11
/*
2-
* Copyright (c) 2022-2023 ForteScarlet.
2+
* Copyright (c) 2022-2024. ForteScarlet.
33
*
4-
* This file is part of Simple Robot.
4+
* Project https://github.com/simple-robot/simpler-robot
5+
56
*
6-
* 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.
7+
* This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
78
*
8-
* 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.
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU Lesser General Public License as published by
11+
* the Free Software Foundation, either version 3 of the License, or
12+
* (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* Lesser GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the Lesser GNU General Public License
20+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
921
*
10-
* You should have received a copy of the GNU Lesser General Public License along with Simple Robot. If not, see <https://www.gnu.org/licenses/>.
1122
*/
1223

1324
import love.forte.gradle.common.core.project.setup
1425
import love.forte.gradle.common.core.repository.Repositories
1526
import love.forte.gradle.common.publication.configure.nexusPublishConfig
1627
import utils.checkPublishConfigurable
28+
import java.time.Duration
1729

1830
/*
1931
* Copyright (c) 2022 ForteScarlet <[email protected]>
@@ -53,6 +65,9 @@ if (userInfo == null) {
5365
}
5466

5567
nexusPublishConfig {
68+
transitionCheckMaxRetries = 5000
69+
transitionCheckDelayBetween = Duration.ofSeconds(15)
70+
5671
projectDetail = P.Simbot
5772
useStaging = project.provider { !project.version.toString().endsWith("SNAPSHOT", ignoreCase = true) }
5873
repositoriesConfig = {

simbot-logger/src/commonTest/kotlin/LoggerLogTests.kt

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Project https://github.com/simple-robot/simpler-robot
55
66
*
7-
* This file is part of the Simple Robot Library.
7+
* This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
88
*
99
* This program is free software: you can redistribute it and/or modify
1010
* it under the terms of the GNU Lesser General Public License as published by
@@ -23,7 +23,6 @@
2323

2424
import love.forte.simbot.logger.LoggerFactory
2525
import love.forte.simbot.logger.logger
26-
import kotlin.test.Test
2726

2827

2928
/**
@@ -32,7 +31,7 @@ import kotlin.test.Test
3231
*/
3332
class LoggerLogTests {
3433

35-
@Test
34+
//@Test
3635
fun loggerLogTest() {
3736
val logger = LoggerFactory.logger<LoggerLogTests>()
3837
logger.info("Hello!")

0 commit comments

Comments
 (0)