Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update junit5 monorepo to v5.9.0 #618

Merged
merged 2 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/nativeTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
strategy:
matrix:
java: ['11', '17']
graalvm: ['latest', 'dev']
steps:
# https://github.com/actions/virtual-environments/issues/709
- name: Free disk space
Expand All @@ -38,7 +39,7 @@ jobs:
- name: Setup GraalVM CE
uses: graalvm/setup-graalvm@v1
with:
version: '22.0.0.2'
version: ${{ matrix.graalvm }}
java-version: ${{ matrix.java }}
components: 'native-image'
- name: Install Native Image
Expand Down
12 changes: 12 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
plugins {
id 'groovy-gradle-plugin'
}

repositories {
gradlePluginPortal()
mavenCentral()
}

dependencies {
implementation(libs.micronaut.library.plugin)
}
7 changes: 7 additions & 0 deletions buildSrc/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}
8 changes: 5 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ managed-hamcrest = "2.2"
managed-mockito = "4.6.1"
managed-mockk = "1.12.7"
managed-kotest = "4.6.4"
managed-junit = "5.8.2"
managed-junit = "5.9.0"
managed-spock = "2.1-groovy-3.0"
managed-rest-assured = "5.1.1"

Expand All @@ -14,7 +14,7 @@ kotlin = "1.7.10"

# Micronaut
micronaut = "3.5.4"

micronaut-gradle-plugin = "3.5.3"

[libraries]
managed-assertj-core = { module = "org.assertj:assertj-core", version.ref = "managed-assertj" }
Expand Down Expand Up @@ -50,6 +50,8 @@ micronaut-jdbc-tomcat = { module = "io.micronaut.sql:micronaut-jdbc-tomcat" }
micronaut-runtime = { module = "io.micronaut:micronaut-runtime" }
micronaut-spring = { module = "io.micronaut.spring:micronaut-spring" }

micronaut-library-plugin = { module = "io.micronaut.library:io.micronaut.library.gradle.plugin", version.ref = "micronaut-gradle-plugin" }

spock-core = { module = "org.spockframework:spock-core" }
h2 = { module = "com.h2database:h2" }
jakarta-inject-api = { module = "jakarta.inject:jakarta.inject-api" }
Expand All @@ -60,4 +62,4 @@ rest-assured = { module = "io.rest-assured:rest-assured" }
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
graal = { module = "org.graalvm.nativeimage:svm" }
groovy = { module = "org.codehaus.groovy:groovy" }
groovy = { module = "org.codehaus.groovy:groovy" }
2 changes: 1 addition & 1 deletion test-junit5/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.graalvm.buildtools.native' version '0.9.13'
id 'io.micronaut.library' // Required to configure Graal for nativeTest
id "io.micronaut.build.internal.base-module"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Args = --initialize-at-run-time=io.micronaut.test.extensions.junit5.MicronautJunit5Extension
Args = --initialize-at-run-time=io.micronaut.test.extensions.junit5.MicronautJunit5Extension \
--initialize-at-build-time=org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener