mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-14 15:11:52 +00:00
47 lines
1.2 KiB
Groovy
47 lines
1.2 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '3.0.0-M3'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group 'io.github.guqing'
|
|
version '1.0-SNAPSHOT'
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
repositories {
|
|
maven {url 'https://s01.oss.sonatype.org/content/repositories/snapshots'}
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
mavenCentral()
|
|
}
|
|
|
|
bootJar {
|
|
enabled = false
|
|
}
|
|
|
|
jar {
|
|
enabled = true
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
from {
|
|
configurations.runtimeClasspath.collect {
|
|
it.isDirectory() ? it : zipTree(it)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly files("lib/halo-2.0.0-SNAPSHOT-plain.jar")
|
|
implementation 'io.github.guqing:pluggable-suite:0.0.1-SNAPSHOT'
|
|
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
|
|
annotationProcessor 'io.github.guqing:pluggable-suite:0.0.1-SNAPSHOT'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|