|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2022-2023 ForteScarlet. |
| 2 | + * Copyright (c) 2022-2024. ForteScarlet. |
3 | 3 | *
|
4 |
| - * This file is part of Simple Robot. |
| 4 | + * Project https://github.com/simple-robot/simpler-robot |
| 5 | + |
5 | 6 | *
|
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.). |
7 | 8 | *
|
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/>. |
9 | 21 | *
|
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/>. |
11 | 22 | */
|
12 | 23 |
|
13 | 24 | import love.forte.gradle.common.core.project.setup
|
14 | 25 | import love.forte.gradle.common.core.repository.Repositories
|
15 | 26 | import love.forte.gradle.common.publication.configure.nexusPublishConfig
|
16 | 27 | import utils.checkPublishConfigurable
|
| 28 | +import java.time.Duration |
17 | 29 |
|
18 | 30 | /*
|
19 | 31 | * Copyright (c) 2022 ForteScarlet <[email protected]>
|
@@ -53,6 +65,9 @@ if (userInfo == null) {
|
53 | 65 | }
|
54 | 66 |
|
55 | 67 | nexusPublishConfig {
|
| 68 | + transitionCheckMaxRetries = 5000 |
| 69 | + transitionCheckDelayBetween = Duration.ofSeconds(15) |
| 70 | + |
56 | 71 | projectDetail = P.Simbot
|
57 | 72 | useStaging = project.provider { !project.version.toString().endsWith("SNAPSHOT", ignoreCase = true) }
|
58 | 73 | repositoriesConfig = {
|
|
0 commit comments