mirror of
https://github.com/halo-dev/halo.git
synced 2025-12-20 16:44:38 +08:00
#### What type of PR is this? /kind cleanup /area core /milestone 2.22.x #### What this PR does / why we need it: This PR upgrades thumbnailator to version 0.4.21 and remove unused imgscalr and metadata-extractor dependencies. #### Does this PR introduce a user-facing change? ```release-note None ```
50 lines
1.2 KiB
Groovy
50 lines
1.2 KiB
Groovy
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
|
|
|
plugins {
|
|
id 'java-platform'
|
|
id 'halo.publish'
|
|
alias(libs.plugins.spring.boot) apply false
|
|
}
|
|
|
|
group = 'run.halo.tools.platform'
|
|
description = 'Platform of application.'
|
|
|
|
javaPlatform {
|
|
allowDependencies()
|
|
}
|
|
|
|
dependencies {
|
|
api platform(SpringBootPlugin.BOM_COORDINATES)
|
|
|
|
constraints {
|
|
api libs.bundles.lucene
|
|
api libs.bundles.apache
|
|
api libs.bundles.therapi
|
|
api libs.springdoc.openapi
|
|
api libs.openapi.schema.validator
|
|
api libs.bouncycastle.bcpkix
|
|
api libs.encoding.base62
|
|
api libs.pf4j
|
|
api libs.guava
|
|
api libs.java.diff.utils
|
|
api libs.jsoup
|
|
api libs.json.patch
|
|
api libs.bundles.resilience4j
|
|
api libs.twofactor.auth
|
|
api libs.thumbnailator
|
|
api "org.springframework.integration:spring-integration-core"
|
|
api "org.thymeleaf.extras:thymeleaf-extras-springsecurity6"
|
|
}
|
|
|
|
}
|
|
|
|
publishing {
|
|
publications.named('mavenJava', MavenPublication) {
|
|
from components.javaPlatform
|
|
pom {
|
|
name = 'Application platform.'
|
|
description = "$project.description"
|
|
}
|
|
}
|
|
}
|