Skip to content

Commit

Permalink
Upgrade spring boot, dependencies to resolve startup issue 'spring-pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul V R committed Nov 16, 2023
1 parent 4e26f31 commit c30d661
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
18 changes: 12 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.2'
id 'io.spring.dependency-management' version '1.1.2'
id 'org.springframework.boot' version '3.1.6-SNAPSHOT'
id 'io.spring.dependency-management' version '1.1.4'
}

group = 'com.project'
Expand All @@ -19,6 +19,8 @@ configurations {

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
}

dependencies {
Expand All @@ -40,19 +42,23 @@ dependencies {
testImplementation 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor('org.springframework.boot:spring-boot-configuration-processor:3.0.4')

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.assertj:assertj-core:3.24.2'

testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:mysql")
testImplementation("org.springframework.boot:spring-boot-testcontainers")
testImplementation('org.testcontainers:junit-jupiter:1.17.6')
testImplementation('org.testcontainers:mysql:1.17.6')
testImplementation("org.springframework.boot:spring-boot-testcontainers:3.1.6-SNAPSHOT")

// implementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo.spring30x:4.7.0'
// implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
}

tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}

tasks.named('test') {
useJUnitPlatform()
}
10 changes: 9 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
rootProject.name = 'open-hands-api'
pluginManagement {
repositories {
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
gradlePluginPortal()
}
}

rootProject.name = 'open-hands-api'

0 comments on commit c30d661

Please sign in to comment.