forked from openrewrite/rewrite-apache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
53 lines (40 loc) · 2.13 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id("org.openrewrite.build.recipe-library") version "latest.release"
}
group = "org.openrewrite.recipe"
description = "Apache Migration"
recipeDependencies {
parserClasspath("org.apache.httpcomponents.core5:httpcore5:5.1.+")
parserClasspath("org.apache.httpcomponents.client5:httpclient5:5.1.+")
parserClasspath("org.apache.commons:commons-collections4:4.4")
}
val rewriteVersion = rewriteRecipe.rewriteVersion.get()
dependencies {
implementation(platform("org.openrewrite:rewrite-bom:$rewriteVersion"))
implementation("org.openrewrite:rewrite-java")
implementation("org.openrewrite.recipe:rewrite-java-dependencies:$rewriteVersion")
implementation("org.openrewrite.recipe:rewrite-static-analysis:$rewriteVersion")
implementation("org.openrewrite:rewrite-templating:$rewriteVersion")
annotationProcessor("org.openrewrite:rewrite-templating:$rewriteVersion")
compileOnly("com.google.errorprone:error_prone_core:2.19.1") {
exclude("com.google.auto.service", "auto-service-annotations")
}
implementation("commons-io:commons-io:2.+")
implementation("org.apache.commons:commons-lang3:3.+")
implementation("org.apache.maven.shared:maven-shared-utils:3.+")
implementation("org.apache.poi:poi:3.16")
implementation("org.codehaus.plexus:plexus-utils:3.+")
testImplementation("org.openrewrite:rewrite-java-17")
testImplementation("org.openrewrite:rewrite-test")
testImplementation("org.openrewrite:rewrite-maven")
testImplementation("commons-codec:commons-codec:1.+")
testRuntimeOnly("org.apache.httpcomponents:httpclient:4.5.14")
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5:5.2.+")
testImplementation("commons-collections:commons-collections:3.2.2")
testImplementation("org.apache.commons:commons-collections4:4.4")
testImplementation("org.apache.commons:commons-math:2.2")
testImplementation("org.apache.commons:commons-math3:3.+")
testImplementation("commons-lang:commons-lang:2.6")
testImplementation("org.apache.commons:commons-lang3:3.+")
testImplementation("org.junit.jupiter:junit-jupiter-engine:latest.release")
}