Skip to content

Commit

Permalink
build: 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Nov 12, 2021
1 parent e3ed19e commit 59eec0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
10 changes: 3 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "io.github.gnuf0rce"
version = "1.1.2"
version = "1.1.3"

mavenCentralPublish {
useCentralS01()
Expand Down Expand Up @@ -38,18 +38,14 @@ repositories {
mavenLocal()
maven(url = "https://maven.aliyun.com/repository/public")
mavenCentral()
jcenter()
maven(url = "https://maven.aliyun.com/repository/gradle-plugin")
gradlePluginPortal()
}

kotlin {
sourceSets {
all {
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
// languageSettings.useExperimentalAnnotation("kotlin.ExperimentalStdlibApi")
// languageSettings.useExperimentalAnnotation("net.mamoe.mirai.utils.MiraiExperimentalApi")
// languageSettings.useExperimentalAnnotation("net.mamoe.mirai.console.util.ConsoleExperimentalApi")
languageSettings.optIn("kotlin.RequiresOptIn")
}
}
}
Expand All @@ -62,7 +58,7 @@ dependencies {
exclude(group = "io.ktor", module = "ktor-client-core")
}
// test
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = Versions.junit)
testImplementation(kotlin("test", Versions.kotlin))
}

tasks {
Expand Down
6 changes: 2 additions & 4 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

object Versions {
// mirai
const val mirai = "2.7.0"
const val mirai = "2.8.0"
// kotlin
const val kotlin = "1.5.21"
const val kotlin = "1.5.31"
const val ktor = "1.5.4"
// other
const val junit = "5.6.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ object GitHubHelperPlugin : KotlinPlugin(
JvmPluginDescription(
id = "io.github.gnuf0rce.github-helper",
name = "github-helper",
version = "1.1.2",
version = "1.1.3",
) {
author("cssxsh")
}
Expand Down

0 comments on commit 59eec0b

Please sign in to comment.