diff --git a/build.gradle.kts b/build.gradle.kts index 424bf3a..2986680 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,12 +7,14 @@ plugins { } group = "io.github.gnuf0rce" -version = "1.3.5" +version = "1.3.6" mavenCentralPublish { useCentralS01() singleDevGithubProject("gnuf0rce", "netdisk-filesync-plugin", "cssxsh") licenseFromGitHubProject("AGPL-3.0", "master") + workingDir = System.getenv("PUBLICATION_TEMP")?.let { file(it).resolve(projectName) } + ?: project.buildDir.resolve("publishing-tmp") publication { artifact(tasks.getByName("buildPlugin")) } @@ -30,6 +32,7 @@ dependencies { exclude(group = "org.slf4j") } compileOnly("net.mamoe:mirai-core-utils:2.12.1") + compileOnly("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.4.3") // testImplementation(kotlin("test")) } diff --git a/src/main/kotlin/io/github/gnuf0rce/mirai/netdisk/NetDiskFileSyncPlugin.kt b/src/main/kotlin/io/github/gnuf0rce/mirai/netdisk/NetDiskFileSyncPlugin.kt index a0b0d46..8183d2c 100644 --- a/src/main/kotlin/io/github/gnuf0rce/mirai/netdisk/NetDiskFileSyncPlugin.kt +++ b/src/main/kotlin/io/github/gnuf0rce/mirai/netdisk/NetDiskFileSyncPlugin.kt @@ -16,7 +16,7 @@ public object NetDiskFileSyncPlugin : KotlinPlugin( JvmPluginDescription( id = "io.github.gnuf0rce.file-sync", name = "file-sync", - version = "1.3.5", + version = "1.3.6", ) { author("cssxsh") }