You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
787 B
38 lines
787 B
plugins { |
|
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/**" |
|
} |
|
|
|
task build { |
|
dependsOn checkstyleNohttp |
|
} |
|
|
|
allprojects { |
|
group "org.springframework.boot" |
|
|
|
repositories { |
|
mavenCentral() |
|
if (version.contains('-')) { |
|
maven { url "https://repo.spring.io/milestone" } |
|
} |
|
if (version.endsWith('-SNAPSHOT')) { |
|
maven { url "https://repo.spring.io/snapshot" } |
|
} |
|
} |
|
|
|
configurations.all { |
|
resolutionStrategy.cacheChangingModulesFor 0, "minutes" |
|
} |
|
}
|
|
|