|
1 | 1 | 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" |
4 | 4 |
|
5 |
| - id("net.mamoe.mirai-console") version "2.10.0" |
| 5 | + id("net.mamoe.mirai-console") version "2.11.0" |
6 | 6 | id("net.mamoe.maven-central-publish") version "0.7.1"
|
7 | 7 | }
|
8 | 8 |
|
9 | 9 | group = "io.github.gnuf0rce"
|
10 |
| -version = "1.2.6" |
| 10 | +version = "1.3.0" |
11 | 11 |
|
12 | 12 | mavenCentralPublish {
|
13 | 13 | useCentralS01()
|
14 | 14 | singleDevGithubProject("gnuf0rce", "netdisk-filesync-plugin", "cssxsh")
|
15 | 15 | licenseFromGitHubProject("AGPL-3.0", "master")
|
16 | 16 | publication {
|
17 | 17 | artifact(tasks.getByName("buildPlugin"))
|
18 |
| - } |
19 |
| -} |
20 |
| - |
21 |
| -mirai { |
22 |
| - configureShadow { |
23 |
| - exclude("module-info.class") |
| 18 | + artifact(tasks.getByName("buildPluginLegacy")) |
24 | 19 | }
|
25 | 20 | }
|
26 | 21 |
|
27 | 22 | repositories {
|
28 | 23 | mavenLocal()
|
29 | 24 | mavenCentral()
|
30 |
| - gradlePluginPortal() |
31 | 25 | }
|
32 | 26 |
|
33 | 27 | dependencies {
|
34 | 28 | api("xyz.cssxsh.baidu:baidu-netdisk:2.0.8") {
|
35 | 29 | exclude(group = "org.jetbrains.kotlin")
|
36 | 30 | exclude(group = "io.ktor")
|
37 | 31 | }
|
38 |
| - implementation("io.ktor:ktor-client-serialization:1.6.5") { |
| 32 | + implementation("io.ktor:ktor-client-serialization:1.6.7") { |
39 | 33 | exclude(group = "org.jetbrains.kotlin")
|
40 | 34 | exclude(group = "org.jetbrains.kotlinx")
|
41 | 35 | exclude(group = "org.slf4j")
|
42 | 36 | exclude(group = "io.ktor", module = "ktor-client-core")
|
43 | 37 | }
|
44 |
| - implementation("io.ktor:ktor-client-encoding:1.6.5") { |
| 38 | + implementation("io.ktor:ktor-client-encoding:1.6.7") { |
45 | 39 | exclude(group = "org.jetbrains.kotlin")
|
46 | 40 | exclude(group = "org.jetbrains.kotlinx")
|
47 | 41 | exclude(group = "org.slf4j")
|
48 | 42 | exclude(group = "io.ktor", module = "ktor-client-core")
|
49 | 43 | }
|
50 |
| - compileOnly("net.mamoe:mirai-core-utils:2.10.0") |
| 44 | + compileOnly("net.mamoe:mirai-core-utils:2.11.0") |
51 | 45 | //
|
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")) |
59 | 47 | }
|
60 | 48 |
|
61 | 49 | kotlin {
|
62 | 50 | explicitApi()
|
63 |
| - sourceSets { |
64 |
| - all { |
65 |
| - // languageSettings.optIn("net.mamoe.mirai.console.util.ConsoleExperimentalApi") |
66 |
| - } |
67 |
| - } |
68 | 51 | }
|
69 | 52 |
|
70 | 53 | tasks {
|
|
0 commit comments