Skip to content

Commit f64f426

Browse files
committed
Add profile YML, update to latest rewrite-core
1 parent b93e67d commit f64f426

File tree

7 files changed

+25
-9
lines changed

7 files changed

+25
-9
lines changed

build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ configurations.all {
4747
}
4848
}
4949

50-
java {
51-
withSourcesJar()
52-
}
53-
5450
dependencies {
5551
implementation("org.openrewrite:rewrite-java:latest.release")
5652
implementation("org.openrewrite:rewrite-xml:latest.release")

src/main/java/org/openrewrite/spring/BeanMethodsNotPublic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.openrewrite.spring;
1717

18-
import org.openrewrite.config.AutoConfigure;
18+
import org.openrewrite.AutoConfigure;
1919
import org.openrewrite.java.JavaRefactorVisitor;
2020
import org.openrewrite.java.tree.J;
2121

src/main/java/org/openrewrite/spring/ConstructorInjection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.openrewrite.spring;
1717

18-
import org.openrewrite.config.AutoConfigure;
18+
import org.openrewrite.AutoConfigure;
1919
import org.openrewrite.java.AddAnnotation;
2020
import org.openrewrite.java.GenerateConstructorUsingFields;
2121
import org.openrewrite.java.JavaRefactorVisitor;

src/main/java/org/openrewrite/spring/ImplicitWebAnnotationNames.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.openrewrite.spring;
1717

18-
import org.openrewrite.config.AutoConfigure;
18+
import org.openrewrite.AutoConfigure;
1919
import org.openrewrite.java.JavaRefactorVisitor;
2020
import org.openrewrite.java.RenameVariable;
2121
import org.openrewrite.java.tree.J;

src/main/java/org/openrewrite/spring/NoAutowired.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package org.openrewrite.spring;
1717

1818
import org.openrewrite.Formatting;
19-
import org.openrewrite.config.AutoConfigure;
19+
import org.openrewrite.AutoConfigure;
2020
import org.openrewrite.java.JavaRefactorVisitor;
2121
import org.openrewrite.java.tree.J;
2222

src/main/java/org/openrewrite/spring/NoRequestMappingAnnotation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.openrewrite.spring;
1717

18-
import org.openrewrite.config.AutoConfigure;
18+
import org.openrewrite.AutoConfigure;
1919
import org.openrewrite.java.JavaRefactorVisitor;
2020
import org.openrewrite.java.tree.Expression;
2121
import org.openrewrite.java.tree.J;
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# Copyright 2020 the original author or authors.
3+
# <p>
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# <p>
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
# <p>
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
type: beta.openrewrite.org/v1/profile
18+
name: spring
19+
include:
20+
- 'org.openrewrite.spring.*'

0 commit comments

Comments
 (0)