chore: add halo plugin devtools dependency (#11)

* chore: add halo plugin devtools dependency

* refacto: upgrade devtools
This commit is contained in:
guqing
2023-05-11 20:09:37 +08:00
committed by GitHub
parent b82aa9316b
commit 339f72d11f
3 changed files with 2 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ plugins {
id 'java'
id "com.github.node-gradle.node" version "3.3.0"
id "io.freefair.lombok" version "8.0.1"
id "io.github.guqing.plugin-development" version "0.0.6-SNAPSHOT"
id "run.halo.plugin.devtools" version "0.0.3"
}
group 'run.halo.starter'
@@ -15,17 +15,6 @@ repositories {
maven { url 'https://repo.spring.io/milestone' }
}
jar {
enabled = true
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest.attributes('Plugin-Version': "${project.version}",)
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
dependencies {
implementation platform('run.halo.tools.platform:plugin:2.5.0-SNAPSHOT')
compileOnly 'run.halo.app:api'