Skip to content

Commit

Permalink
Add repository for tooling model dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Apr 11, 2023
1 parent ede623c commit 85965d9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ plugins {
group = "org.openrewrite.recipe"
description = "A rewrite module automating Java dependency management."

repositories {
maven {
url = uri("https://repo.gradle.org/gradle/libs-releases/")
content {
excludeVersionByRegex(".+", ".+", ".+-rc-?[0-9]*")
}
}
}

val rewriteVersion = rewriteRecipe.rewriteVersion.get()
dependencies {
implementation(platform("org.openrewrite:rewrite-bom:$rewriteVersion"))
Expand All @@ -19,7 +28,7 @@ dependencies {
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-csv")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")

runtimeOnly("org.gradle:gradle-tooling-api:latest.release")
testRuntimeOnly("org.gradle:gradle-tooling-api:latest.release")
compileOnly("org.projectlombok:lombok:latest.release")
annotationProcessor("org.projectlombok:lombok:latest.release")
testRuntimeOnly("ch.qos.logback:logback-classic:1.2.+")
Expand Down

0 comments on commit 85965d9

Please sign in to comment.