-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0dca65b
commit 25f9f8b
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected] | ||
* | ||
* 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 <[email protected]> | ||
|
@@ -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 = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Project https://github.com/simple-robot/simpler-robot | ||
* Email [email protected] | ||
* | ||
* 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<LoggerLogTests>() | ||
logger.info("Hello!") | ||
|