-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle.kts
82 lines (73 loc) · 4.01 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
plugins {
id("org.openrewrite.build.recipe-library") version "latest.release"
}
group = "org.openrewrite.recipe"
description = "Migrate between Micronaut versions. Automatically."
val rewriteVersion = if (project.hasProperty("releasing")) {
"latest.release"
} else {
"latest.integration"
}
dependencies {
compileOnly("org.projectlombok:lombok:latest.release")
annotationProcessor("org.projectlombok:lombok:latest.release")
implementation(platform("org.openrewrite:rewrite-bom:${rewriteVersion}"))
implementation("org.openrewrite:rewrite-java")
implementation("org.openrewrite:rewrite-maven")
implementation("org.openrewrite:rewrite-gradle")
implementation("org.openrewrite:rewrite-properties")
implementation("org.openrewrite:rewrite-yaml")
implementation("org.openrewrite.recipe:rewrite-migrate-java:${rewriteVersion}")
implementation("org.openrewrite.recipe:rewrite-java-dependencies:${rewriteVersion}")
runtimeOnly("org.openrewrite:rewrite-java-8")
runtimeOnly("org.openrewrite:rewrite-java-11")
runtimeOnly("org.openrewrite:rewrite-java-17")
testImplementation("org.junit.jupiter:junit-jupiter-api:latest.release")
testImplementation("org.junit.jupiter:junit-jupiter-params:latest.release")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:latest.release")
testImplementation("org.openrewrite:rewrite-test")
testImplementation("org.openrewrite:rewrite-java-tck")
testImplementation("org.openrewrite.gradle.tooling:model:$rewriteVersion")
testImplementation("org.assertj:assertj-core:latest.release")
testRuntimeOnly(gradleApi())
}
recipeDependencies {
parserClasspath("io.micronaut:micronaut-core:2.+")
parserClasspath("io.micronaut:micronaut-context:2.+")
parserClasspath("io.micronaut:micronaut-inject:2.+")
parserClasspath("io.micronaut:micronaut-validation:2.+")
parserClasspath("io.micronaut:micronaut-http:2.+")
parserClasspath("io.micronaut:micronaut-http-server:2.+")
parserClasspath("io.micronaut:micronaut-http-server-netty:2.+")
parserClasspath("io.micronaut:micronaut-http-client:2.+")
parserClasspath("io.micronaut:micronaut-http-client-core:2.+")
parserClasspath("javax.inject:javax.inject:1")
parserClasspath("jakarta.inject:jakarta.inject-api:2.+")
parserClasspath("org.reactivestreams:reactive-streams:1.0.4")
parserClasspath("io.projectreactor:reactor-core:3.4.39")
parserClasspath("io.micronaut:micronaut-context:4.0.0")
parserClasspath("io.micronaut:micronaut-websocket:4.0.0")
parserClasspath("io.micronaut:micronaut-http:4.0.0")
parserClasspath("io.micronaut:micronaut-inject:4.0.0")
parserClasspath("io.micronaut.validation:micronaut-validation:4.0.0")
parserClasspath("io.micronaut:micronaut-retry:4.0.0")
parserClasspath("io.micronaut.email:micronaut-email:2.0.0")
parserClasspath("io.micronaut.data:micronaut-data-jdbc:3.9.1")
parserClasspath("io.micronaut.data:micronaut-data-jdbc:4.0.0")
parserClasspath("io.micronaut.data:micronaut-data-model:4.0.0")
parserClasspath("io.micronaut.data:micronaut-data-tx:3.9.1")
parserClasspath("io.micronaut.data:micronaut-data-tx:4.0.0")
parserClasspath("io.micronaut.security:micronaut-security:4.0.0")
parserClasspath("io.micronaut.security:micronaut-security-jwt:4.0.0")
parserClasspath("io.micronaut.security:micronaut-security-oauth2:4.0.0")
parserClasspath("javax.annotation:javax.annotation-api:1.3.2")
parserClasspath("javax.validation:validation-api:2.0.1.Final")
parserClasspath("jakarta.validation:jakarta.validation-api:3.0.2")
parserClasspath("javax.persistence:javax.persistence-api:2.2")
parserClasspath("jakarta.persistence:jakarta.persistence-api:3.1.0")
parserClasspath("javax.mail:javax.mail-api:1.6.2")
parserClasspath("jakarta.mail:jakarta.mail-api:2.1.1")
parserClasspath("jakarta.annotation:jakarta.annotation-api:2.1.1")
parserClasspath("javax.transaction:javax.transaction-api:1.3")
parserClasspath("jakarta.transaction:jakarta.transaction-api:2.0.1")
}