Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Jan 27, 2024
1 parent bd614e1 commit 88f87da
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 35 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.gradle.java")
id("org.gradle.maven-publish")
id("org.jetbrains.kotlin.jvm") version "1.5.31" apply false
id("org.jetbrains.kotlin.jvm") version "1.8.22" apply false
}

subprojects {
Expand Down Expand Up @@ -45,7 +45,7 @@ publishing {
artifactId = "um"
groupId = "ink.ptms"
version = project.version.toString()
artifact(File("plugin/build/libs/plugin-${project.version}.jar"))
artifact(File("plugin/build/libs/${rootProject.name}-${project.version}.jar"))
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=ink.ptms.um
version=1.0.0-beta-34
taboolib_version=6.0.12-26
version=1.0.1
taboolib_version=6.1.0
5 changes: 1 addition & 4 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ dependencies {
tasks {
withType<ShadowJar> {
archiveClassifier.set("")
exclude("META-INF/**")
exclude("module-info.java")
exclude("plugin.yml")
relocate("ink.ptms.um.taboolib", "taboolib")
archiveBaseName.set(rootProject.name)
}
build {
dependsOn(shadowJar)
Expand Down
16 changes: 8 additions & 8 deletions project/common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import io.izzel.taboolib.gradle.BUKKIT_ALL
import io.izzel.taboolib.gradle.UNIVERSAL

val taboolib_version: String by project

plugins {
id("io.izzel.taboolib") version "1.55"
id("io.izzel.taboolib") version "2.0.0"
}

taboolib {
install("common")
install("module-configuration")
install("platform-bukkit")
options("skip-minimize", "keep-kotlin-module", "skip-kotlin-relocate", "skip-taboolib-relocate")
classifier = null
version = taboolib_version
exclude("taboolib")
subproject = true
env {
install(UNIVERSAL, BUKKIT_ALL)
}
}

dependencies {
Expand Down
19 changes: 9 additions & 10 deletions project/implementation-v4/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import io.izzel.taboolib.gradle.BUKKIT_ALL
import io.izzel.taboolib.gradle.NMS_UTIL
import io.izzel.taboolib.gradle.UNIVERSAL

val taboolib_version: String by project

plugins {
id("io.izzel.taboolib") version "1.55"
id("io.izzel.taboolib") version "2.0.0"
}

taboolib {
install("common")
install("module-configuration")
install("module-nms")
install("module-nms-util")
install("platform-bukkit")
options("skip-minimize", "keep-kotlin-module", "skip-kotlin-relocate", "skip-taboolib-relocate")
classifier = null
version = taboolib_version
exclude("taboolib")
subproject = true
env {
install(UNIVERSAL, BUKKIT_ALL, NMS_UTIL)
}
}

dependencies {
Expand Down
18 changes: 9 additions & 9 deletions project/implementation-v5/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import io.izzel.taboolib.gradle.BUKKIT_ALL
import io.izzel.taboolib.gradle.NMS_UTIL
import io.izzel.taboolib.gradle.UNIVERSAL

val taboolib_version: String by project

plugins {
id("io.izzel.taboolib") version "1.55"
id("io.izzel.taboolib") version "2.0.0"
}

taboolib {
install("common")
install("module-configuration")
install("module-nms-util")
install("platform-bukkit")
options("skip-minimize", "keep-kotlin-module", "skip-kotlin-relocate", "skip-taboolib-relocate")
classifier = null
version = taboolib_version
exclude("taboolib")
subproject = true
env {
install(UNIVERSAL, BUKKIT_ALL, NMS_UTIL)
}
}

dependencies {
Expand Down

0 comments on commit 88f87da

Please sign in to comment.