mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-13 22:56:50 +00:00
refactor: update build.gradle
This commit is contained in:
4
.github/workflows/workflow.yaml
vendored
4
.github/workflows/workflow.yaml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
with:
|
||||
name: plugin-starter
|
||||
path: |
|
||||
build/libs/*-plain.jar
|
||||
build/libs/*.jar
|
||||
retention-days: 1
|
||||
|
||||
github-release:
|
||||
@@ -102,4 +102,4 @@ jobs:
|
||||
release_id: releaseId,
|
||||
name: artifactName,
|
||||
data: await fs.readFile(artifactPathName)
|
||||
});
|
||||
});
|
||||
|
17
build.gradle
17
build.gradle
@@ -1,8 +1,6 @@
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '3.0.0-M3'
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id "com.github.node-gradle.node" version "3.3.0"
|
||||
id "io.github.guqing.plugin-development" version "0.0.5-SNAPSHOT"
|
||||
id "io.github.guqing.plugin-development" version "0.0.6-SNAPSHOT"
|
||||
id 'java'
|
||||
}
|
||||
|
||||
@@ -10,14 +8,11 @@ group 'run.halo.starter'
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
repositories {
|
||||
maven { url 'https://s01.oss.sonatype.org/content/repositories/releases' }
|
||||
maven { url 'https://repo.spring.io/milestone' }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
bootJar {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
jar {
|
||||
enabled = true
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
@@ -32,14 +27,12 @@ jar {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "io.swagger.core.v3:swagger-core-jakarta:2.2.0"
|
||||
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
|
||||
compileOnly 'org.pf4j:pf4j:3.6.0'
|
||||
compileOnly platform("run.halo.dependencies:halo-dependencies:1.0.0")
|
||||
|
||||
compileOnly files("lib/halo-2.0.0-SNAPSHOT-plain.jar")
|
||||
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
compileOnly 'org.projectlombok:lombok:1.18.22'
|
||||
annotationProcessor 'org.projectlombok:lombok:1.18.22'
|
||||
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
||||
|
Reference in New Issue
Block a user