Upgrade dependencies

This commit is contained in:
Sébastien Deleuze
2021-04-01 18:13:49 +02:00
parent e070b4033b
commit 388c395840
4 changed files with 20 additions and 20 deletions

View File

@@ -85,11 +85,11 @@ In order to be able to use Kotlin non-nullable properties with JPA, https://kotl
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("plugin.jpa") version "1.3.61"
id("org.springframework.boot") version "2.2.2.RELEASE"
kotlin("plugin.jpa") version "1.4.32"
id("org.springframework.boot") version "2.4.4"
id("io.spring.dependency-management") version "1.0.8.RELEASE"
kotlin("jvm") version "1.3.61"
kotlin("plugin.spring") version "1.3.61"
kotlin("jvm") version "1.4.32"
kotlin("plugin.spring") version "1.4.32"
}
----
@@ -469,7 +469,7 @@ With Gradle:
----
plugins {
...
kotlin("plugin.allopen") version "1.3.61"
kotlin("plugin.allopen") version "1.4.32"
}
allOpen {
@@ -800,7 +800,7 @@ testImplementation("org.springframework.boot:spring-boot-starter-test") {
}
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("com.ninja-squad:springmockk:1.1.3")
testImplementation("com.ninja-squad:springmockk:3.0.1")
----
Or with Maven:
@@ -831,7 +831,7 @@ Or with Maven:
<dependency>
<groupId>com.ninja-squad</groupId>
<artifactId>springmockk</artifactId>
<version>1.1.3</version>
<version>3.0.1</version>
<scope>test</scope>
</dependency>
----
@@ -913,7 +913,7 @@ To generate https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle
----
plugins {
...
kotlin("kapt") version "1.3.61"
kotlin("kapt") version "1.4.32"
}
dependencies {

View File

@@ -1,13 +1,13 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.2.2.RELEASE"
id("io.spring.dependency-management") version "1.0.8.RELEASE"
kotlin("jvm") version "1.3.61"
kotlin("plugin.spring") version "1.3.61"
kotlin("plugin.allopen") version "1.3.61"
kotlin("plugin.jpa") version "1.3.61"
kotlin("kapt") version "1.3.61"
id("org.springframework.boot") version "2.4.4"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version "1.4.32"
kotlin("plugin.spring") version "1.4.32"
kotlin("plugin.allopen") version "1.4.32"
kotlin("plugin.jpa") version "1.4.32"
kotlin("kapt") version "1.4.32"
}
group = "com.example"
@@ -34,7 +34,7 @@ dependencies {
}
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation("com.ninja-squad:springmockk:1.1.3")
testImplementation("com.ninja-squad:springmockk:3.0.1")
}
tasks.withType<KotlinCompile> {

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<version>2.4.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
@@ -22,7 +22,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<kotlin.version>1.3.61</kotlin.version>
<kotlin.version>1.4.32</kotlin.version>
</properties>
<dependencies>
@@ -84,7 +84,7 @@
<dependency>
<groupId>com.ninja-squad</groupId>
<artifactId>springmockk</artifactId>
<version>1.1.3</version>
<version>3.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>