Revert "Add openrewrite"
openrewrite is no longer necessary now that the migration is done
This commit is contained in:
parent
3e93b024d6
commit
bb00268922
11
build.gradle
11
build.gradle
|
@ -21,17 +21,6 @@ apply plugin: 'org.springframework.security.sagan'
|
|||
apply plugin: 'org.springframework.github.milestone'
|
||||
apply plugin: 'org.springframework.github.changelog'
|
||||
|
||||
apply plugin: 'org.openrewrite.rewrite'
|
||||
|
||||
rewrite {
|
||||
activeRecipe("org.openrewrite.java.spring.boot2.SpringBoot2JUnit4to5Migration")
|
||||
activeStyle("io.moderne.spring.style")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
rewrite("org.openrewrite.recipe:rewrite-spring:4.6.1")
|
||||
}
|
||||
|
||||
group = 'org.springframework.security'
|
||||
description = 'Spring Security'
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ dependencies {
|
|||
implementation 'net.sourceforge.saxon:saxon:9.1.0.8'
|
||||
implementation localGroovy()
|
||||
|
||||
implementation 'org.openrewrite:plugin:5.2.1'
|
||||
implementation 'io.github.gradle-nexus:publish-plugin:1.1.0'
|
||||
implementation 'io.projectreactor:reactor-core:3.4.6'
|
||||
implementation 'gradle.plugin.org.gretty:gretty:3.0.1'
|
||||
|
|
23
rewrite.yml
23
rewrite.yml
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
type: specs.openrewrite.org/v1beta/style
|
||||
name: io.moderne.spring.style
|
||||
styleConfigs:
|
||||
- org.openrewrite.java.style.ImportLayoutStyle:
|
||||
classCountToUseStarImport: 999
|
||||
nameCountToUseStarImport: 999
|
||||
layout:
|
||||
- import java.*
|
||||
- <blank line>
|
||||
- import javax.*
|
||||
- <blank line>
|
||||
- import all other imports
|
||||
- <blank line>
|
||||
- import org.springframework.*
|
||||
- <blank line>
|
||||
- import static all other imports
|
||||
- org.openrewrite.java.style.TabsAndIndentsStyle:
|
||||
useTabCharacter: true
|
||||
tabSize: 1
|
||||
indentSize: 1
|
||||
continuationIndent: 2
|
||||
indentsRelativeToExpressionStart: false
|
Loading…
Reference in New Issue