Skip to content

Commit

Permalink
Polish bulid.gradle.kts
Browse files Browse the repository at this point in the history
Signed-off-by: Taeik Lim <sibera21@gmail.com>
  • Loading branch information
acktsap authored Jan 27, 2025
1 parent 32a9ec5 commit 9123828
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
gradlePluginPortal() // give access to gradle community plugins
}

Expand Down
39 changes: 21 additions & 18 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
rootProject.name = "spring-batch-plus"

include("spring-batch-plus")
include("spring-batch-plus-kotlin")
include("spring-boot-autoconfigure-batch-plus")
include("spring-boot-autoconfigure-batch-plus-kotlin")
include("spring-boot-starter-batch-plus")
include("spring-boot-starter-batch-plus-kotlin")

include("spring-batch-plus-sample:spring-batch-plus-kotlin-dsl")
include("spring-batch-plus-sample:spring-batch-plus-single-class-reader-processor-writer")
include("spring-batch-plus-sample:spring-batch-plus-single-class-reader-processor-writer-kotlin")
include("spring-batch-plus-sample:spring-batch-plus-clear-run-id-incrementer")
include("spring-batch-plus-sample:spring-batch-plus-clear-run-id-incrementer-kotlin")
include("spring-batch-plus-sample:spring-batch-plus-delete-meta-data-job")
include("spring-batch-plus-sample:spring-batch-plus-delete-meta-data-job-kotlin")

dependencyResolutionManagement {
repositories {
mavenLocal()
mavenCentral()
mavenLocal()
maven("https://repo.spring.io/milestone/")
}
}

rootProject.name = "spring-batch-plus"

include(
"spring-batch-plus",
"spring-batch-plus-kotlin",
"spring-boot-autoconfigure-batch-plus",
"spring-boot-autoconfigure-batch-plus-kotlin",
"spring-boot-starter-batch-plus",
"spring-boot-starter-batch-plus-kotlin",

// sample projects
"spring-batch-plus-sample:spring-batch-plus-kotlin-dsl",
"spring-batch-plus-sample:spring-batch-plus-single-class-reader-processor-writer",
"spring-batch-plus-sample:spring-batch-plus-single-class-reader-processor-writer-kotlin",
"spring-batch-plus-sample:spring-batch-plus-clear-run-id-incrementer",
"spring-batch-plus-sample:spring-batch-plus-clear-run-id-incrementer-kotlin",
"spring-batch-plus-sample:spring-batch-plus-delete-meta-data-job",
"spring-batch-plus-sample:spring-batch-plus-delete-meta-data-job-kotlin",
)
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

kotlin {
Expand Down Expand Up @@ -40,7 +40,6 @@ dependencyManagement {
dependencies {
implementation("org.springframework.boot:spring-boot-starter-batch")
implementation(project(":spring-boot-starter-batch-plus-kotlin"))
implementation("io.projectreactor:reactor-core:3.5.0")
runtimeOnly("com.h2database:h2:2.1.214")

testImplementation("org.springframework.boot:spring-boot-starter-test")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

java {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

kotlin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

java {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

kotlin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

kotlin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
mavenLocal()
}

java {
Expand Down

0 comments on commit 9123828

Please sign in to comment.