-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
53 lines (44 loc) · 2.21 KB
/
build.gradle.kts
File metadata and controls
53 lines (44 loc) · 2.21 KB
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"
id("org.openrewrite.build.moderne-source-available-license") version "latest.release"
}
group = "io.moderne.recipe"
description = "Rewrite DevCenter integration."
recipeDependencies {
testParserClasspath("junit:junit:4.13.2")
testParserClasspath("org.junit.jupiter:junit-jupiter-api:6.0.2")
}
val rewriteVersion = rewriteRecipe.rewriteVersion.get()
dependencies {
implementation(platform("org.openrewrite:rewrite-bom:latest.release"))
// Only needed for result parsing (package io.moderne.devcenter.result),
// not for defining and running DevCenter recipes.
compileOnly("io.moderne:moderne-organizations-format:latest.release")
implementation("com.univocity:univocity-parsers:latest.release")
implementation("org.openrewrite:rewrite-java:${rewriteVersion}")
implementation("org.openrewrite.recipe:rewrite-java-dependencies:${rewriteVersion}")
implementation("org.openrewrite.recipe:rewrite-java-security:${rewriteVersion}")
implementation("org.openrewrite:rewrite-maven:${rewriteVersion}")
implementation("org.openrewrite:rewrite-gradle:${rewriteVersion}")
implementation("org.openrewrite:rewrite-python:${rewriteVersion}")
implementation("org.openrewrite:rewrite-javascript:${rewriteVersion}")
implementation("org.openrewrite:rewrite-csharp:${rewriteVersion}")
runtimeOnly("org.openrewrite:rewrite-java-17:${rewriteVersion}")
implementation("org.slf4j:slf4j-api:1.7.+")
testImplementation("io.moderne:moderne-organizations-format:latest.release")
testImplementation("org.openrewrite:rewrite-test")
testImplementation("org.openrewrite:rewrite-java-21:${rewriteVersion}")
testImplementation(gradleApi())
testImplementation("org.openrewrite.gradle.tooling:model:${rewriteVersion}")
testImplementation("de.siegmar:fastcsv:3.+")
testRuntimeOnly("junit:junit:4.+")
}
tasks.withType<Test> {
maxHeapSize = "6g"
}
nexusPublishing {
repositories.getByName("sonatype") {
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
}
}