-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle.kts
36 lines (29 loc) · 1.58 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
plugins {
id("org.openrewrite.build.recipe-library") version "latest.release"
id("org.openrewrite.build.moderne-source-available-license") version "latest.release"
}
group = "org.openrewrite.recipe"
description = "Feature flag migration"
val rewriteVersion = rewriteRecipe.rewriteVersion.get()
dependencies {
implementation(platform("org.openrewrite:rewrite-bom:$rewriteVersion"))
implementation("org.openrewrite:rewrite-java")
implementation("org.openrewrite.meta:rewrite-analysis:$rewriteVersion")
implementation("org.openrewrite.recipe:rewrite-java-dependencies:$rewriteVersion")
implementation("org.openrewrite.recipe:rewrite-static-analysis:$rewriteVersion")
testImplementation("org.openrewrite:rewrite-java-17")
testImplementation("org.openrewrite:rewrite-test")
testImplementation("org.openrewrite:rewrite-gradle")
testImplementation("org.openrewrite.gradle.tooling:model:$rewriteVersion")
testImplementation("org.openrewrite:rewrite-maven")
testImplementation("org.junit.jupiter:junit-jupiter-engine:latest.release")
testImplementation("dev.openfeature:sdk:latest.release")
testImplementation("io.getunleash:unleash-client-java:latest.release")
testImplementation("org.ff4j:ff4j-core:2.0.0") // 2.1.x requires Java 21
testRuntimeOnly("org.gradle:gradle-tooling-api:latest.release")
}
recipeDependencies {
parserClasspath("com.launchdarkly:launchdarkly-java-server-sdk:5.10.+")
parserClasspath("com.launchdarkly:launchdarkly-java-server-sdk:6.+")
//parserClasspath("com.launchdarkly:launchdarkly-java-server-sdk:7.+")
}