mirror of
https://github.com/halo-dev/plugin-s3.git
synced 2026-01-28 02:00:45 +08:00
49 lines
1.4 KiB
Groovy
49 lines
1.4 KiB
Groovy
plugins {
|
|
id "io.github.guqing.plugin-development" version "0.0.6-SNAPSHOT"
|
|
id 'java'
|
|
}
|
|
|
|
group 'run.halo.s3os'
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
repositories {
|
|
maven { url 'https://s01.oss.sonatype.org/content/repositories/releases' }
|
|
maven { url 'https://repo.spring.io/milestone' }
|
|
mavenCentral()
|
|
}
|
|
|
|
jar {
|
|
enabled = true
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
from {
|
|
configurations.runtimeClasspath.collect {
|
|
it.isDirectory() ? it : zipTree(it)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly platform("run.halo.dependencies:halo-dependencies:1.0.0")
|
|
|
|
compileOnly files("lib/halo-2.0.0-SNAPSHOT-plain.jar")
|
|
|
|
implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.1000')
|
|
implementation 'com.amazonaws:aws-java-sdk-s3'
|
|
implementation "javax.xml.bind:jaxb-api:2.3.1"
|
|
implementation "javax.activation:activation:1.1.1"
|
|
implementation "org.glassfish.jaxb:jaxb-runtime:2.3.3"
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.22'
|
|
|
|
testImplementation platform("run.halo.dependencies:halo-dependencies:1.0.0")
|
|
testImplementation files("lib/halo-2.0.0-SNAPSHOT-plain.jar")
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|