Skip to content

Commit

Permalink
build: 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed May 22, 2022
1 parent 1ce0964 commit 482f516
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
26 changes: 8 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,43 +1,33 @@
plugins {
kotlin("jvm") version "1.6.0"
kotlin("plugin.serialization") version "1.6.0"
kotlin("jvm") version "1.6.21"
kotlin("plugin.serialization") version "1.6.21"

id("net.mamoe.mirai-console") version "2.10.0"
id("net.mamoe.mirai-console") version "2.11.0"
id("net.mamoe.maven-central-publish") version "0.7.1"
}

group = "io.github.gnuf0rce"
version = "1.2.3"
version = "1.3.0"

mavenCentralPublish {
useCentralS01()
singleDevGithubProject("gnuf0rce", "debug-helper", "cssxsh")
licenseFromGitHubProject("AGPL-3.0", "master")
publication {
artifact(tasks.getByName("buildPlugin"))
artifact(tasks.getByName("buildPluginLegacy"))
}
}

repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
}

dependencies {
compileOnly("net.mamoe:mirai-core:2.10.0")
compileOnly("net.mamoe:mirai-core-utils:2.10.0")
testImplementation(kotlin("test", "1.6.0"))
}

kotlin {
sourceSets {
all {
// languageSettings.useExperimentalAnnotation("net.mamoe.mirai.console.util.ConsoleExperimentalApi")
// languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiInternalApi")
// languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiExperimentalApi")
}
}
compileOnly("net.mamoe:mirai-core:2.11.0")
compileOnly("net.mamoe:mirai-core-utils:2.11.0")
testImplementation(kotlin("test", "1.6.21"))
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import java.time.*
import java.util.zip.*

object DebugHelperPlugin : KotlinPlugin(
JvmPluginDescription(id = "io.github.gnuf0rce.debug-helper", version = "1.2.3") {
JvmPluginDescription(id = "io.github.gnuf0rce.debug-helper", version = "1.3.0") {
name("debug-helper")
author("cssxsh")
}
Expand Down

0 comments on commit 482f516

Please sign in to comment.