Skip to content

Commit

Permalink
Fix rootProject.name bug update to 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkerWen committed Jul 30, 2022
1 parent d5d94a6 commit 8d4ddbb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
plugins {
val kotlinVersion = "1.6.10"
val kotlinVersion = "1.5.30"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion

id("net.mamoe.mirai-console") version "2.10.1"
}

group = "org.wzry.heropower"
version = "2.2.0"
version = "2.2.1"

repositories {
maven("https://maven.aliyun.com/repository/public")
Expand Down
10 changes: 9 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
rootProject.name = "HeroPower"
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlin-eap")
}
}
rootProject.name = "HeroPowerGroupAssistant"
4 changes: 2 additions & 2 deletions src/main/java/org/wzry/heropower/HeroPower.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import org.wzry.heropower.config.Config

object HeroPower : KotlinPlugin(

JvmPluginDescriptionBuilder("org.wzry.heropower.plugin", "2.2.0")
.name("王者战力查询")
JvmPluginDescriptionBuilder("org.wzry.heropower.HeroPower", "2.2.1")
.name("HeroPower王者战力查询")
.info("联系作者VXRem_wife\n关注公众号:夜寒信息")
.author("暮至夜寒")
.build()
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/wzry/heropower/config/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public object Config : AutoSavePluginConfig("HeroPower") {
}

fun removeHost(host: Long) {
for (id in hosts) if (id == host) return
hosts.remove(host)
}

Expand Down

0 comments on commit 8d4ddbb

Please sign in to comment.