Skip to content

Commit 1ee64ee

Browse files
authored
Add gradle support and add tests for gradle project (#5368)
1 parent 1f2b0f3 commit 1ee64ee

File tree

23 files changed

+983
-416
lines changed

23 files changed

+983
-416
lines changed

migration-tool/pom.xml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,18 @@
3232

3333
<dependencyManagement>
3434
<dependencies>
35+
<!-- We should not use bom-internal here because it'll cause version conflict -->
3536
<dependency>
3637
<groupId>org.openrewrite.recipe</groupId>
3738
<artifactId>rewrite-recipe-bom</artifactId>
38-
<version>2.8.1</version>
39+
<version>2.14.0</version>
40+
<type>pom</type>
41+
<scope>import</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.junit</groupId>
45+
<artifactId>junit-bom</artifactId>
46+
<version>5.10.3</version>
3947
<type>pom</type>
4048
<scope>import</scope>
4149
</dependency>
@@ -59,6 +67,11 @@
5967
<artifactId>rewrite-java-8</artifactId>
6068
<scope>runtime</scope>
6169
</dependency>
70+
<dependency>
71+
<groupId>org.openrewrite.recipe</groupId>
72+
<artifactId>rewrite-java-dependencies</artifactId>
73+
<scope>runtime</scope>
74+
</dependency>
6275
<dependency>
6376
<groupId>software.amazon.awssdk</groupId>
6477
<artifactId>utils</artifactId>
@@ -137,12 +150,15 @@
137150
<groupId>org.junit.jupiter</groupId>
138151
<artifactId>junit-jupiter</artifactId>
139152
<scope>test</scope>
140-
<version>${junit5.version}</version>
153+
</dependency>
154+
<dependency>
155+
<groupId>org.junit.platform</groupId>
156+
<artifactId>junit-platform-commons</artifactId>
157+
<scope>test</scope>
141158
</dependency>
142159
<dependency>
143160
<groupId>org.junit.jupiter</groupId>
144161
<artifactId>junit-jupiter-engine</artifactId>
145-
<version>${junit5.version}</version>
146162
<scope>test</scope>
147163
</dependency>
148164
<dependency>

0 commit comments

Comments
 (0)