1 Star 0 Fork 0

Halo SIGs/plugin-links

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
plugins {
id "com.github.node-gradle.node" version "5.0.0"
id "run.halo.plugin.devtools" version "0.0.9"
id "io.freefair.lombok" version "8.0.1"
id 'java'
}
group 'run.halo.links'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://repo.spring.io/milestone' }
mavenCentral()
}
dependencies {
implementation platform('run.halo.tools.platform:plugin:2.15.0-SNAPSHOT')
compileOnly 'run.halo.app:api'
testImplementation 'run.halo.app:api'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
node {
pnpmVersion = '8'
nodeProjectDir = file("${project.projectDir}/console")
}
tasks.register("installDeps", PnpmTask) {
onlyIf { !file("${project.projectDir}/console/node_modules").exists() }
args = ['install']
}
tasks.register("buildFrontend", PnpmTask) {
args = ['build']
dependsOn("installDeps")
}
tasks.named("compileJava").configure {
dependsOn("buildFrontend")
}
halo {
version = '2.15'
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/halo-sigs/plugin-links.git
[email protected]:halo-sigs/plugin-links.git
halo-sigs
plugin-links
plugin-links
main

搜索帮助