From 8b2cf08be38b102afbffcf1c7dfa10c69dd127df Mon Sep 17 00:00:00 2001 From: Hiroyuki Yamada Date: Wed, 4 Dec 2024 20:32:42 +0900 Subject: [PATCH] Backport to branch(3.12) : Add dependencies for data loader project (#2377) Co-authored-by: Peckstadt Yves --- build.gradle | 2 ++ data-loader/build.gradle | 15 ++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 2fb8ad6325..5d59e5979b 100644 --- a/build.gradle +++ b/build.gradle @@ -59,6 +59,8 @@ subprojects { shadowPluginVersion = '7.1.2' // Make JDK11+ use the same version as JDK8 uses googleJavaFormatVersion = '1.7' + commonsIoVersion = '2.16.1' + lombokVersion = '1.18.34' } repositories { diff --git a/data-loader/build.gradle b/data-loader/build.gradle index dc73d45023..f633095150 100644 --- a/data-loader/build.gradle +++ b/data-loader/build.gradle @@ -1,10 +1,5 @@ subprojects { group = "scalardb.dataloader" - - ext { - apacheCommonsLangVersion = '3.14.0' - apacheCommonsIoVersion = '2.16.1' - } dependencies { // AssertJ testImplementation("org.assertj:assertj-core:${assertjVersion}") @@ -16,12 +11,18 @@ subprojects { testImplementation("org.junit.jupiter:junit-jupiter-engine:${junitVersion}") // Apache Commons - implementation("org.apache.commons:commons-lang3:${apacheCommonsLangVersion}") - implementation("commons-io:commons-io:${apacheCommonsIoVersion}") + implementation("org.apache.commons:commons-lang3:${commonsLangVersion}") + implementation("commons-io:commons-io:${commonsIoVersion}") // Mockito testImplementation "org.mockito:mockito-core:${mockitoVersion}" testImplementation "org.mockito:mockito-inline:${mockitoVersion}" testImplementation "org.mockito:mockito-junit-jupiter:${mockitoVersion}" + + // Lombok + compileOnly "org.projectlombok:lombok:${lombokVersion}" + annotationProcessor "org.projectlombok:lombok:${lombokVersion}" + testCompileOnly "org.projectlombok:lombok:${lombokVersion}" + testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}" } }