diff --git a/build.gradle b/build.gradle index 8be08d9..b48ef2b 100644 --- a/build.gradle +++ b/build.gradle @@ -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' @@ -19,6 +19,8 @@ configurations { repositories { mavenCentral() + maven { url 'https://repo.spring.io/milestone' } + maven { url 'https://repo.spring.io/snapshot' } } dependencies { @@ -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() } \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index e270f15..6fcbfa9 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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' \ No newline at end of file