mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Polish nohttp configuration
Closes gh-26166
This commit is contained in:
parent
57c199d4d1
commit
82198a99e0
11
build.gradle
11
build.gradle
|
@ -1,6 +1,6 @@
|
|||
plugins {
|
||||
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
|
||||
id "io.spring.nohttp" version "0.0.3.RELEASE"
|
||||
id "io.spring.nohttp" version "0.0.6.RELEASE"
|
||||
}
|
||||
|
||||
description = "Spring Boot Build"
|
||||
|
@ -9,7 +9,14 @@ defaultTasks 'build'
|
|||
|
||||
nohttp {
|
||||
whitelistFile = project.file("src/nohttp/whitelist.lines")
|
||||
source.exclude "buildSrc/build/**"
|
||||
source.exclude "**/bin/**"
|
||||
source.exclude "**/build/**"
|
||||
source.exclude "**/out/**"
|
||||
source.exclude "**/target/**"
|
||||
}
|
||||
|
||||
task build {
|
||||
dependsOn checkstyleNohttp
|
||||
}
|
||||
|
||||
allprojects {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
|
|
|
@ -7533,7 +7533,7 @@ Alternatively, you can specify a source for your test, which disables the behavi
|
|||
If you wish to use Spock to test a Spring Boot application, you should add a dependency on Spock's `spock-spring` module to your application's build.
|
||||
`spock-spring` integrates Spring's test framework into Spock.
|
||||
It is recommended that you use Spock 1.2 or later to benefit from a number of improvements to Spock's Spring Framework and Spring Boot integration.
|
||||
See http://spockframework.org/spock/docs/1.2/modules.html#_spring_module[the documentation for Spock's Spring module] for further details.
|
||||
See https://spockframework.org/spock/docs/1.2/modules.html#_spring_module[the documentation for Spock's Spring module] for further details.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.example</groupId>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
^http://exslt.org/common.*
|
||||
^http://ganglia.sourceforge.net.*
|
||||
^http://hsqldb.org.*
|
||||
^http://livereload.com/.*
|
||||
^http://logback.qos.ch/manual/loggingSeparation.html
|
||||
^http://schemas.xmlsoap.org/.*
|
||||
^http://www.jdotsoft.com.*
|
||||
^http://spockframework.org.*
|
||||
^http://ganglia.sourceforge.net.*
|
||||
^http://schemas.xmlsoap.org.*
|
||||
^http://www.liquibase.org/xml/ns/dbchangelog/.*
|
||||
|
|
Loading…
Reference in New Issue
Block a user