mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
This commit updates the MavenPublishingConventions to use HTTPS to link to the Apache license. The configuration of NoHTTP has also been reworked so that it will correctly find usch uses of http:// URLs. Closes gh-21459
32 lines
682 B
Groovy
32 lines
682 B
Groovy
plugins {
|
|
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
|
|
id "io.spring.nohttp" version "0.0.3.RELEASE"
|
|
}
|
|
|
|
description = "Spring Boot Build"
|
|
|
|
defaultTasks 'build'
|
|
|
|
nohttp {
|
|
whitelistFile = project.file("src/nohttp/whitelist.lines")
|
|
source.exclude "buildSrc/build/**"
|
|
}
|
|
|
|
allprojects {
|
|
group "org.springframework.boot"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
if (!version.endsWith('RELEASE')) {
|
|
maven { url "https://repo.spring.io/milestone" }
|
|
}
|
|
if (version.endsWith('BUILD-SNAPSHOT')) {
|
|
maven { url "https://repo.spring.io/snapshot" }
|
|
}
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy.cacheChangingModulesFor 60, "minutes"
|
|
}
|
|
}
|