Skip to content

Commit

Permalink
Fix build system
Browse files Browse the repository at this point in the history
  • Loading branch information
alazeprt committed Aug 27, 2024
1 parent c57bbb4 commit 0e71e8e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
with:
name: PlumBot Artifacts
path: |
build/libs/
apply/build/libs/
22 changes: 22 additions & 0 deletions apply/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
taboolib {
description {
name(rootProject.name)
desc("A qq bot plugin")
links {
name("homepage").url("https://github.com/RegadPoleCN/PlumBot")
}
contributors {
name("alazeprt")
name("RegadPole")
}
}
}

tasks {
jar {
// 构件名
archiveBaseName.set(rootProject.name)
// 打包子项目源代码
rootProject.subprojects.forEach { from(it.sourceSets["main"].output) }
}
}
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
rootProject.name = "PlumBot"
include("common")
include("bukkit")
include("apply")

0 comments on commit 0e71e8e

Please sign in to comment.