Skip to content

Commit

Permalink
chore: add halo plugin devtools dependency (#11)
Browse files Browse the repository at this point in the history
* chore: add halo plugin devtools dependency

* refacto: upgrade devtools
  • Loading branch information
guqing committed May 11, 2023
1 parent b82aa93 commit 339f72d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
13 changes: 1 addition & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement {
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/spring-plugin' }
maven { url 'https://repo.spring.io/milestone' }
Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ metadata:
name: PluginStarter
spec:
enabled: true
# 'version' is a valid semantic version string (see semver.org).
version: 1.0.0-SNAPSHOT
requires: ">=2.5.0"
author:
name: Halo OSS Team
Expand Down

0 comments on commit 339f72d

Please sign in to comment.