mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Update excluded dependencies
This commit is contained in:
parent
dd8a9efd4c
commit
e608a3dbbc
@ -104,11 +104,17 @@ internal val IGNORED_DEPENDENCIES_IN_SHADOW = arrayOf(
|
||||
"net.mamoe:mirai-core-metadata",
|
||||
"net.mamoe:mirai-core-common",
|
||||
"net.mamoe:mirai-core-jvm",
|
||||
"net.mamoe:mirai-core-android",
|
||||
"net.mamoe:mirai-core-jvmCommon",
|
||||
"net.mamoe:mirai-core-commonJvm",
|
||||
|
||||
"net.mamoe:mirai-core-api", // for future
|
||||
"net.mamoe:mirai-core-api-metadata",
|
||||
"net.mamoe:mirai-core-api-common",
|
||||
"net.mamoe:mirai-core-api-jvm",
|
||||
"net.mamoe:mirai-core-api-android",
|
||||
"net.mamoe:mirai-core-api-jvmCommon",
|
||||
"net.mamoe:mirai-core-api-commonJvm",
|
||||
|
||||
"net.mamoe:mirai-core-qqAndroid",
|
||||
"net.mamoe:mirai-core-qqAndroid-metadata",
|
||||
|
@ -76,8 +76,7 @@ internal data class PluginMetadata(
|
||||
val artifactId: String,
|
||||
val version: String,
|
||||
val description: String?,
|
||||
val dependencies: List<String>,
|
||||
val pluginJarSuffix: String
|
||||
val dependencies: List<String>
|
||||
)
|
||||
|
||||
internal fun String.wrapNameWithPlatform(target: KotlinTarget, isSingleTarget: Boolean): String {
|
||||
@ -116,8 +115,7 @@ private fun Project.registerPublishPluginTasks(target: KotlinTarget, isSingleTar
|
||||
artifactId = mirai.publishing.artifactId ?: project.name,
|
||||
version = mirai.publishing.version ?: project.version.toString(),
|
||||
description = mirai.publishing.description ?: project.description,
|
||||
dependencies = dependencies,
|
||||
pluginJarSuffix = ".mirai"
|
||||
dependencies = dependencies
|
||||
))
|
||||
|
||||
logger.info("Generated mirai plugin metadata json: $json")
|
||||
|
Loading…
Reference in New Issue
Block a user