Skip to content

Commit

Permalink
Use 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Feb 7, 2019
1 parent 43ed7b4 commit 71d64a3
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions junit5-jupiter-extensions/build.gradle
Expand Up @@ -17,10 +17,10 @@ tasks.withType(JavaCompile) {
}

dependencies {
compile("org.junit.jupiter:junit-jupiter-api:5.4.0-RC2") {
compile("org.junit.jupiter:junit-jupiter-api:5.4.0") {
because 'building extensions in "main" using JUnit Jupiter API'
}
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.4.0-RC2") {
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.4.0") {
because 'at least one engine is needed at test runtime'
}
}
Expand Down
2 changes: 1 addition & 1 deletion junit5-jupiter-starter-ant/build.sh
Expand Up @@ -3,7 +3,7 @@
#
# Set constants.
#
junit_platform_version='1.4.0-RC2'
junit_platform_version='1.4.0'
ant_version='1.10.5'
ant_folder="apache-ant-${ant_version}"
ant_archive="${ant_folder}-bin.tar.gz"
Expand Down
4 changes: 2 additions & 2 deletions junit5-jupiter-starter-bazel/WORKSPACE
Expand Up @@ -6,9 +6,9 @@ maven_server(
url = "http://central.maven.org/maven2/",
)

JUNIT_JUPITER_VERSION = "5.4.0-RC2"
JUNIT_JUPITER_VERSION = "5.4.0"

JUNIT_PLATFORM_VERSION = "1.4.0-RC2"
JUNIT_PLATFORM_VERSION = "1.4.0"

junit_jupiter_java_repositories(
version = JUNIT_JUPITER_VERSION,
Expand Down
4 changes: 2 additions & 2 deletions junit5-jupiter-starter-bazel/junit5.bzl
Expand Up @@ -22,7 +22,7 @@ JUNIT_EXTRA_DEPENDENCIES = [
]

def junit_jupiter_java_repositories(
version = "5.4.0-RC2"):
version = "5.4.0"):
"""Imports dependencies for JUnit Jupiter"""
for artifact_id in JUNIT_JUPITER_ARTIFACT_ID_LIST:
native.maven_jar(
Expand All @@ -41,7 +41,7 @@ def junit_jupiter_java_repositories(
)

def junit_platform_java_repositories(
version = "1.4.0-RC2"):
version = "1.4.0"):
"""Imports dependencies for JUnit Platform"""
for artifact_id in JUNIT_PLATFORM_ARTIFACT_ID_LIST:
native.maven_jar(
Expand Down
2 changes: 1 addition & 1 deletion junit5-jupiter-starter-gradle-groovy/build.gradle
Expand Up @@ -10,7 +10,7 @@ repositories {

dependencies {
compile localGroovy()
testImplementation('org.junit.jupiter:junit-jupiter:5.4.0-RC2')
testImplementation('org.junit.jupiter:junit-jupiter:5.4.0')
}

test {
Expand Down
2 changes: 1 addition & 1 deletion junit5-jupiter-starter-gradle-kotlin/build.gradle.kts
Expand Up @@ -11,7 +11,7 @@ repositories {
dependencies {
implementation(kotlin("stdlib-jdk8"))
// or compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.junit.jupiter:junit-jupiter:5.4.0-RC2")
testImplementation("org.junit.jupiter:junit-jupiter:5.4.0")
}

tasks.withType<Test> {
Expand Down
2 changes: 1 addition & 1 deletion junit5-jupiter-starter-gradle/build.gradle
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
testImplementation('org.junit.jupiter:junit-jupiter:5.4.0-RC2')
testImplementation('org.junit.jupiter:junit-jupiter:5.4.0')
}

test {
Expand Down
2 changes: 1 addition & 1 deletion junit5-jupiter-starter-maven/pom.xml
Expand Up @@ -12,7 +12,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>

<junit.jupiter.version>5.4.0-RC2</junit.jupiter.version>
<junit.jupiter.version>5.4.0</junit.jupiter.version>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions junit5-migration-gradle/README.md
Expand Up @@ -59,8 +59,8 @@ implementation similar to the following.

```groovy
dependencies {
testCompile("org.junit.jupiter:junit-jupiter-api:5.4.0-RC2")
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.4.0-RC2")
testCompile("org.junit.jupiter:junit-jupiter-api:5.4.0")
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.4.0")
}
```

Expand All @@ -71,7 +71,7 @@ JUnit Vintage TestEngine implementation similar to the following.
```groovy
dependencies {
testCompile("junit:junit:4.12")
testRuntime("org.junit.vintage:junit-vintage-engine:5.4.0-RC2")
testRuntime("org.junit.vintage:junit-vintage-engine:5.4.0")
}
```

Expand Down
6 changes: 3 additions & 3 deletions junit5-migration-gradle/build.gradle
Expand Up @@ -21,9 +21,9 @@ repositories {

dependencies {
def junit4Version = '4.12'
def junitVintageVersion = '5.4.0-RC2'
def junitJupiterVersion = '5.4.0-RC2'
def junitPlatformVersion = '1.4.0-RC2'
def junitVintageVersion = '5.4.0'
def junitJupiterVersion = '5.4.0'
def junitPlatformVersion = '1.4.0'

// JUnit Jupiter API and TestEngine implementation
testImplementation("org.junit.jupiter:junit-jupiter:${junitJupiterVersion}")
Expand Down
4 changes: 2 additions & 2 deletions junit5-migration-maven/pom.xml
Expand Up @@ -14,8 +14,8 @@
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>

<junit.version>4.12</junit.version>
<junit.jupiter.version>5.4.0-RC2</junit.jupiter.version>
<junit.vintage.version>5.4.0-RC2</junit.vintage.version>
<junit.jupiter.version>5.4.0</junit.jupiter.version>
<junit.vintage.version>5.4.0</junit.vintage.version>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions junit5-modular-world/compile.jsh
Expand Up @@ -5,9 +5,9 @@
//
// download main and test dependencies
//
String platformVersion = "1.4.0-RC2"
String jupiterVersion = "5.4.0-RC2"
String vintageVersion = "5.4.0-RC2"
String platformVersion = "1.4.0"
String jupiterVersion = "5.4.0"
String vintageVersion = "5.4.0"
get("lib", "org.junit.platform", "junit-platform-commons", platformVersion)
get("lib", "org.junit.platform", "junit-platform-console", platformVersion)
get("lib", "org.junit.platform", "junit-platform-engine", platformVersion)
Expand Down
2 changes: 1 addition & 1 deletion junit5-multiple-engines/build.gradle
Expand Up @@ -12,7 +12,7 @@ repositories {

dependencies {
def junit4Version = '4.12'
def junit5Version = '5.4.0-RC2'
def junit5Version = '5.4.0'

// Using multiple engines in a single project may lead to different JUnit
// Platform artifact versions being pulled in via transitive dependencies.
Expand Down

0 comments on commit 71d64a3

Please sign in to comment.