mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
Fix checkstyle import into Eclipse
Issue gh-3747
This commit is contained in:
parent
ec4e6c7453
commit
d85c0395bb
2
.gitignore
vendored
2
.gitignore
vendored
@ -19,5 +19,5 @@ build/
|
|||||||
*.iws
|
*.iws
|
||||||
.gradle/
|
.gradle/
|
||||||
atlassian-ide-plugin.xml
|
atlassian-ide-plugin.xml
|
||||||
!eclipse/.checkstyle
|
!etc/eclipse/.checkstyle
|
||||||
.checkstyle
|
.checkstyle
|
11
etc/eclipse/.checkstyle
Normal file
11
etc/eclipse/.checkstyle
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
|
||||||
|
<local-check-config name="Spring Security Checkstyle" location="${configDir}/checkstyle.xml" type="external" description="">
|
||||||
|
<property name="configDir" value="${configDir}"/>
|
||||||
|
<additional-data name="protect-config-file" value="false"/>
|
||||||
|
</local-check-config>
|
||||||
|
<fileset name="all" enabled="true" check-config-name="Spring Security Checkstyle" local="true">
|
||||||
|
<file-match-pattern match-pattern="." include-pattern="true"/>
|
||||||
|
</fileset>
|
||||||
|
</fileset-config>
|
@ -15,7 +15,7 @@ task eclipseCheckstyle(type: Copy) {
|
|||||||
from rootProject.files(
|
from rootProject.files(
|
||||||
"etc/eclipse/.checkstyle")
|
"etc/eclipse/.checkstyle")
|
||||||
into project.projectDir
|
into project.projectDir
|
||||||
expand(configDir: rootProject.file('config/checkstyle').absolutePath)
|
expand(configDir: rootProject.file('etc/checkstyle').absolutePath)
|
||||||
}
|
}
|
||||||
task eclipseSettings(type: Copy) {
|
task eclipseSettings(type: Copy) {
|
||||||
from rootProject.files(
|
from rootProject.files(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user