You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
Groovy
49 lines
1.1 KiB
Groovy
plugins {
|
|
id "base"
|
|
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
|
|
id "io.spring.nohttp" version "0.0.10"
|
|
}
|
|
|
|
description = "Spring Boot Build"
|
|
|
|
defaultTasks 'build'
|
|
|
|
nohttp {
|
|
allowlistFile = project.file("src/nohttp/allowlist.lines")
|
|
source.exclude "**/bin/**"
|
|
source.exclude "**/build/**"
|
|
source.exclude "**/out/**"
|
|
source.exclude "**/target/**"
|
|
source.exclude "spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/resources/org/springframework/boot/buildpack/platform/docker/export.tar"
|
|
}
|
|
|
|
check {
|
|
dependsOn checkstyleNohttp
|
|
}
|
|
|
|
allprojects {
|
|
group "org.springframework.boot"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://repo.spring.io/milestone"
|
|
content {
|
|
// Thymeleaf uses 6.0.0-RC2 of Security's bom in its dependency management
|
|
includeModule("org.springframework.security", "spring-security-bom")
|
|
}
|
|
}
|
|
if (version.endsWith('-SNAPSHOT')) {
|
|
maven { url "https://repo.spring.io/snapshot" }
|
|
}
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
|
|
}
|
|
}
|
|
|
|
tasks.named("checkstyleNohttp").configure {
|
|
maxHeapSize = "1g"
|
|
}
|