-
-
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.
Merge pull request #837 from simple-robot/pref-build
尝试调整优化项目的构建配置与依赖关系配置
- Loading branch information
Showing
18 changed files
with
40 additions
and
140 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
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
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 | ||
|
@@ -36,6 +36,7 @@ | |
requires simbot.common.collection; | ||
requires kotlinx.coroutines.core; | ||
requires kotlinx.serialization.core; | ||
requires kotlinx.serialization.json; | ||
requires static kotlinx.coroutines.reactive; | ||
requires static kotlinx.coroutines.reactor; | ||
requires static kotlinx.coroutines.rx2; | ||
|
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 | ||
|
@@ -27,29 +27,6 @@ import love.forte.gradle.common.kotlin.multiplatform.applyTier2 | |
import love.forte.gradle.common.kotlin.multiplatform.applyTier3 | ||
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl | ||
|
||
/* | ||
* Copyright (c) 2023-2024. ForteScarlet. | ||
* | ||
* Project https://github.com/simple-robot/simpler-robot | ||
* Email [email protected] | ||
* | ||
* This file is part of the Simple Robot Library. | ||
* | ||
* 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/>. | ||
* | ||
*/ | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
id("simbot.dokka-module-configuration") | ||
|
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
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
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
2 changes: 1 addition & 1 deletion
2
simbot-commons/simbot-common-core/src/jvmMain/java/module-info.java
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
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
8 changes: 4 additions & 4 deletions
8
simbot-commons/simbot-common-ktor-inputfile/src/jvmMain/java/module-info.java
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,9 +1,9 @@ | ||
module simbot.common.ktor.inputfile { | ||
requires kotlin.stdlib; | ||
requires static io.ktor.http; | ||
requires static io.ktor.client.core; | ||
requires static io.ktor.utils; | ||
requires static io.ktor.io; | ||
requires io.ktor.http; | ||
requires io.ktor.client.core; | ||
requires io.ktor.utils; | ||
requires io.ktor.io; | ||
|
||
exports love.forte.simbot.common.ktor.inputfile; | ||
} |
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 | ||
|
@@ -59,8 +59,9 @@ kotlin { | |
sourceSets { | ||
commonMain { | ||
dependencies { | ||
api(project(":simbot-logger")) | ||
compileOnly(project(":simbot-commons:simbot-common-annotations")) | ||
implementation(project(":simbot-commons:simbot-common-annotations")) | ||
implementation(project(":simbot-logger")) | ||
|
||
api(libs.kotlinx.coroutines.core) | ||
} | ||
} | ||
|
@@ -72,6 +73,7 @@ kotlin { | |
} | ||
|
||
jvmMain.dependencies { | ||
compileOnly(project(":simbot-commons:simbot-common-annotations")) | ||
compileOnly(libs.kotlinx.coroutines.reactor) | ||
compileOnly(libs.kotlinx.coroutines.rx2) | ||
compileOnly(libs.kotlinx.coroutines.rx3) | ||
|
@@ -86,18 +88,6 @@ kotlin { | |
implementation("io.projectreactor:reactor-test:3.6.2") | ||
} | ||
} | ||
|
||
nativeMain.dependencies { | ||
api(project(":simbot-commons:simbot-common-annotations")) | ||
} | ||
|
||
jsMain.dependencies { | ||
api(project(":simbot-commons:simbot-common-annotations")) | ||
} | ||
|
||
getByName("wasmJsMain").dependencies { | ||
implementation(project(":simbot-commons:simbot-common-annotations")) | ||
} | ||
} | ||
} | ||
|
||
|
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
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 | ||
|
@@ -44,6 +44,7 @@ kotlin { | |
|
||
dependencies { | ||
implementation(platform(libs.spring.boot.v3.dependencies)) | ||
implementation(project(":simbot-logger")) | ||
|
||
compileOnly(project(":simbot-commons:simbot-common-annotations")) | ||
api(project(":simbot-quantcat:simbot-quantcat-common")) | ||
|
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
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
Oops, something went wrong.