Skip to content

Commit 6185f98

Browse files
committed
refactor: update build.gradle
1 parent 3dab7ab commit 6185f98

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/workflow.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
name: plugin-starter
5858
path: |
59-
build/libs/*-plain.jar
59+
build/libs/*.jar
6060
retention-days: 1
6161

6262
github-release:
@@ -102,4 +102,4 @@ jobs:
102102
release_id: releaseId,
103103
name: artifactName,
104104
data: await fs.readFile(artifactPathName)
105-
});
105+
});

build.gradle

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11
plugins {
2-
id 'org.springframework.boot' version '3.0.0-M3'
3-
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
42
id "com.github.node-gradle.node" version "3.3.0"
5-
id "io.github.guqing.plugin-development" version "0.0.5-SNAPSHOT"
3+
id "io.github.guqing.plugin-development" version "0.0.6-SNAPSHOT"
64
id 'java'
75
}
86

97
group 'run.halo.starter'
108
sourceCompatibility = JavaVersion.VERSION_17
119

1210
repositories {
11+
maven { url 'https://s01.oss.sonatype.org/content/repositories/releases' }
1312
maven { url 'https://repo.spring.io/milestone' }
1413
mavenCentral()
1514
}
1615

17-
bootJar {
18-
enabled = false
19-
}
20-
2116
jar {
2217
enabled = true
2318
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
@@ -32,14 +27,12 @@ jar {
3227
}
3328

3429
dependencies {
35-
compileOnly "io.swagger.core.v3:swagger-core-jakarta:2.2.0"
36-
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
37-
compileOnly 'org.pf4j:pf4j:3.6.0'
30+
compileOnly platform("run.halo.dependencies:halo-dependencies:1.0.0")
3831

3932
compileOnly files("lib/halo-2.0.0-SNAPSHOT-plain.jar")
4033

41-
compileOnly 'org.projectlombok:lombok'
42-
annotationProcessor 'org.projectlombok:lombok'
34+
compileOnly 'org.projectlombok:lombok:1.18.22'
35+
annotationProcessor 'org.projectlombok:lombok:1.18.22'
4336

4437
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
4538
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'

0 commit comments

Comments
 (0)