Skip to content

Commit e19fd30

Browse files
committed
build: 1.3.0
1 parent 75b7f4b commit e19fd30

File tree

2 files changed

+10
-27
lines changed

2 files changed

+10
-27
lines changed

build.gradle.kts

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,53 @@
11
plugins {
2-
kotlin("jvm") version "1.6.0"
3-
kotlin("plugin.serialization") version "1.6.0"
2+
kotlin("jvm") version "1.6.21"
3+
kotlin("plugin.serialization") version "1.6.21"
44

5-
id("net.mamoe.mirai-console") version "2.10.0"
5+
id("net.mamoe.mirai-console") version "2.11.0"
66
id("net.mamoe.maven-central-publish") version "0.7.1"
77
}
88

99
group = "io.github.gnuf0rce"
10-
version = "1.2.6"
10+
version = "1.3.0"
1111

1212
mavenCentralPublish {
1313
useCentralS01()
1414
singleDevGithubProject("gnuf0rce", "netdisk-filesync-plugin", "cssxsh")
1515
licenseFromGitHubProject("AGPL-3.0", "master")
1616
publication {
1717
artifact(tasks.getByName("buildPlugin"))
18-
}
19-
}
20-
21-
mirai {
22-
configureShadow {
23-
exclude("module-info.class")
18+
artifact(tasks.getByName("buildPluginLegacy"))
2419
}
2520
}
2621

2722
repositories {
2823
mavenLocal()
2924
mavenCentral()
30-
gradlePluginPortal()
3125
}
3226

3327
dependencies {
3428
api("xyz.cssxsh.baidu:baidu-netdisk:2.0.8") {
3529
exclude(group = "org.jetbrains.kotlin")
3630
exclude(group = "io.ktor")
3731
}
38-
implementation("io.ktor:ktor-client-serialization:1.6.5") {
32+
implementation("io.ktor:ktor-client-serialization:1.6.7") {
3933
exclude(group = "org.jetbrains.kotlin")
4034
exclude(group = "org.jetbrains.kotlinx")
4135
exclude(group = "org.slf4j")
4236
exclude(group = "io.ktor", module = "ktor-client-core")
4337
}
44-
implementation("io.ktor:ktor-client-encoding:1.6.5") {
38+
implementation("io.ktor:ktor-client-encoding:1.6.7") {
4539
exclude(group = "org.jetbrains.kotlin")
4640
exclude(group = "org.jetbrains.kotlinx")
4741
exclude(group = "org.slf4j")
4842
exclude(group = "io.ktor", module = "ktor-client-core")
4943
}
50-
compileOnly("net.mamoe:mirai-core-utils:2.10.0")
44+
compileOnly("net.mamoe:mirai-core-utils:2.11.0")
5145
//
52-
testImplementation(kotlin("test", "1.6.0"))
53-
}
54-
55-
mirai {
56-
configureShadow {
57-
exclude("module-info.class")
58-
}
46+
testImplementation(kotlin("test", "1.6.21"))
5947
}
6048

6149
kotlin {
6250
explicitApi()
63-
sourceSets {
64-
all {
65-
// languageSettings.optIn("net.mamoe.mirai.console.util.ConsoleExperimentalApi")
66-
}
67-
}
6851
}
6952

7053
tasks {

src/main/kotlin/io/github/gnuf0rce/mirai/netdisk/NetDiskFileSyncPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public object NetDiskFileSyncPlugin : KotlinPlugin(
1212
JvmPluginDescription(
1313
id = "io.github.gnuf0rce.file-sync",
1414
name = "file-sync",
15-
version = "1.2.6",
15+
version = "1.3.0",
1616
) {
1717
author("cssxsh")
1818
}

0 commit comments

Comments
 (0)