Skip to content

Commit

Permalink
release: v4.0.0-beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Mar 24, 2024
1 parent 0dca65b commit 25f9f8b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
25 changes: 20 additions & 5 deletions buildSrc/src/main/kotlin/simbot.nexus-publish.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
*
* 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/>.
*/

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 <ForteScarlet@163.com>
Expand Down Expand Up @@ -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 = {
Expand Down
5 changes: 2 additions & 3 deletions simbot-logger/src/commonTest/kotlin/LoggerLogTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +23,6 @@

import love.forte.simbot.logger.LoggerFactory
import love.forte.simbot.logger.logger
import kotlin.test.Test


/**
Expand All @@ -32,7 +31,7 @@ import kotlin.test.Test
*/
class LoggerLogTests {

@Test
//@Test
fun loggerLogTest() {
val logger = LoggerFactory.logger<LoggerLogTests>()
logger.info("Hello!")
Expand Down

0 comments on commit 25f9f8b

Please sign in to comment.