generated from moderneinc/rewrite-recipe-starter
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle.kts
43 lines (39 loc) · 1.76 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
plugins {
id("org.openrewrite.build.recipe-library") version "latest.release"
}
// Set as appropriate for your organization
group = "org.openrewrite.recipe"
description = "Rewrite recipes which have dependencies on many other rewrite recipes or language parsers."
repositories {
maven {
url = uri("https://repo.gradle.org/gradle/libs-releases/")
content {
excludeVersionByRegex(".+", ".+", ".+-rc-?[0-9]*")
}
}
}
val latest = rewriteRecipe.rewriteVersion.get()
dependencies {
compileOnly("org.projectlombok:lombok:latest.release")
compileOnly("com.google.code.findbugs:jsr305:latest.release")
annotationProcessor("org.projectlombok:lombok:latest.release")
implementation(platform("org.openrewrite:rewrite-bom:$latest"))
implementation("org.openrewrite:rewrite-gradle")
implementation("org.openrewrite:rewrite-groovy")
implementation("org.openrewrite:rewrite-hcl")
implementation("org.openrewrite:rewrite-java")
implementation("org.openrewrite.recipe:rewrite-java-dependencies:$latest")
implementation("org.openrewrite:rewrite-json")
implementation("org.openrewrite:rewrite-maven")
implementation("org.openrewrite:rewrite-properties")
implementation("org.openrewrite:rewrite-protobuf")
implementation("org.openrewrite:rewrite-toml")
implementation("org.openrewrite:rewrite-xml")
implementation("org.openrewrite:rewrite-yaml")
implementation("org.openrewrite:rewrite-python:$latest")
implementation("org.openrewrite:rewrite-kotlin:$latest")
implementation("org.openrewrite:rewrite-csharp:$latest")
implementation("org.openrewrite:rewrite-javascript:$latest")
testImplementation("org.openrewrite:rewrite-test")
testRuntimeOnly("org.openrewrite:rewrite-java-17")
}