Files
shirainbown 260e9f9c14
CI / ci (push) Has been cancelled
refactor: migrate base package run.halo.sharelink -> io.github.shirainbown.sharelink
Halo 应用市场审核意见:自有代码不得使用 run.halo 保留命名空间。
- 22 个 Java 文件包名整体迁移,官方 API(run.halo.app 等)引用保持不变
- gradle group 同步修改,版本号升至 1.1.1
- 扩展 @GVK group(sharelink.halo.run)未变,存量数据完全兼容
- 已在本机 Halo 2.25.4 完成升级回归:插件 STARTED、扩展 API 正常、/download 路由正常
2026-08-03 12:24:54 +08:00

45 lines
963 B
Groovy
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
plugins {
id 'java'
id "io.freefair.lombok" version "8.14"
id "run.halo.plugin.devtools" version "0.6.2"
}
group 'io.github.shirainbown.sharelink'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
options.release = 21
}
repositories {
mavenCentral()
}
dependencies {
implementation platform('run.halo.tools.platform:plugin:2.21.0')
compileOnly 'run.halo.app:api'
implementation 'com.google.guava:guava:33.4.8-jre'
testImplementation 'run.halo.app:api'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
// 前端单独构建:cd ui && pnpm install && pnpm build(产物输出到 src/main/resources/console
// 见 ui/README.md。不在 gradle 中集成 node,避免重复下载 node 运行时。
halo {
version = "2.21.7"
debug = true
}