mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-15 07:32:12 +00:00
chore: add halo plugin devtools dependency (#11)
* chore: add halo plugin devtools dependency * refacto: upgrade devtools
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -2,7 +2,7 @@ plugins {
|
|||||||
id 'java'
|
id 'java'
|
||||||
id "com.github.node-gradle.node" version "3.3.0"
|
id "com.github.node-gradle.node" version "3.3.0"
|
||||||
id "io.freefair.lombok" version "8.0.1"
|
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'
|
group 'run.halo.starter'
|
||||||
@@ -15,17 +15,6 @@ repositories {
|
|||||||
maven { url 'https://repo.spring.io/milestone' }
|
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 {
|
dependencies {
|
||||||
implementation platform('run.halo.tools.platform:plugin:2.5.0-SNAPSHOT')
|
implementation platform('run.halo.tools.platform:plugin:2.5.0-SNAPSHOT')
|
||||||
compileOnly 'run.halo.app:api'
|
compileOnly 'run.halo.app:api'
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
|
maven { url 'https://s01.oss.sonatype.org/content/repositories/releases' }
|
||||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
||||||
maven { url 'https://maven.aliyun.com/repository/spring-plugin' }
|
maven { url 'https://maven.aliyun.com/repository/spring-plugin' }
|
||||||
maven { url 'https://repo.spring.io/milestone' }
|
maven { url 'https://repo.spring.io/milestone' }
|
||||||
|
@@ -5,8 +5,6 @@ metadata:
|
|||||||
name: PluginStarter
|
name: PluginStarter
|
||||||
spec:
|
spec:
|
||||||
enabled: true
|
enabled: true
|
||||||
# 'version' is a valid semantic version string (see semver.org).
|
|
||||||
version: 1.0.0-SNAPSHOT
|
|
||||||
requires: ">=2.5.0"
|
requires: ">=2.5.0"
|
||||||
author:
|
author:
|
||||||
name: Halo OSS Team
|
name: Halo OSS Team
|
||||||
|
Reference in New Issue
Block a user