File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
22 id ' java'
33 id " com.github.node-gradle.node" version " 3.3.0"
44 id " io.freefair.lombok" version " 8.0.1"
5- id " io.github.guqing. plugin-development " version " 0.0.6-SNAPSHOT "
5+ id " run.halo. plugin.devtools " version " 0.0.3 "
66}
77
88group ' run.halo.starter'
@@ -15,17 +15,6 @@ repositories {
1515 maven { url ' https://repo.spring.io/milestone' }
1616}
1717
18- jar {
19- enabled = true
20- duplicatesStrategy = DuplicatesStrategy . EXCLUDE
21- manifest. attributes(' Plugin-Version' : " ${ project.version} " ,)
22- from {
23- configurations. runtimeClasspath. collect {
24- it. isDirectory() ? it : zipTree(it)
25- }
26- }
27- }
28-
2918dependencies {
3019 implementation platform(' run.halo.tools.platform:plugin:2.5.0-SNAPSHOT' )
3120 compileOnly ' run.halo.app:api'
Original file line number Diff line number Diff line change 11pluginManagement {
22 repositories {
3- maven { url ' https://s01.oss.sonatype.org/content/repositories/snapshots ' }
3+ maven { url ' https://s01.oss.sonatype.org/content/repositories/releases ' }
44 maven { url ' https://maven.aliyun.com/repository/gradle-plugin' }
55 maven { url ' https://maven.aliyun.com/repository/spring-plugin' }
66 maven { url ' https://repo.spring.io/milestone' }
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ metadata:
55 name : PluginStarter
66spec :
77 enabled : true
8- # 'version' is a valid semantic version string (see semver.org).
9- version : 1.0.0-SNAPSHOT
108 requires : " >=2.5.0"
119 author :
1210 name : Halo OSS Team
You can’t perform that action at this time.
0 commit comments