Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,6 @@ graalvmNative {

binaries.all {
resources.autodetect()

// see https://github.com/junit-team/junit5/wiki/Upgrading-to-JUnit-5.13
// should not be needed after updating native build tools to 0.11.0
val initializeAtBuildTime = listOf(
"org.junit.jupiter.api.DisplayNameGenerator\$IndicativeSentences",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$ClassInfo",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$LifecycleMethods",
"org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor",
"org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor",
"org.junit.jupiter.engine.descriptor.DynamicDescendantFilter\$Mode",
"org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector\$1",
"org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor\$MethodInfo",
"org.junit.jupiter.engine.discovery.ClassSelectorResolver\$DummyClassTemplateInvocationContext",
"org.junit.platform.engine.support.store.NamespacedHierarchicalStore\$EvaluatedValue",
"org.junit.platform.launcher.core.DiscoveryIssueNotifier",
"org.junit.platform.launcher.core.HierarchicalOutputDirectoryProvider",
"org.junit.platform.launcher.core.LauncherDiscoveryResult\$EngineResultInfo",
"org.junit.platform.suite.engine.SuiteTestDescriptor\$LifecycleMethods",
)
buildArgs.add("--initialize-at-build-time=${initializeAtBuildTime.joinToString(",")}")
}

// See https://github.com/graalvm/native-build-tools/issues/572
Expand Down
24 changes: 0 additions & 24 deletions smoke-tests-otel-starter/spring-boot-3.2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,4 @@ graalvmNative {
useJUnitPlatform()
setForkEvery(1)
}

// see https://github.com/junit-team/junit5/wiki/Upgrading-to-JUnit-5.13
// should not be needed after updating native build tools to 0.11.0
val initializeAtBuildTime = listOf(
"org.junit.jupiter.api.DisplayNameGenerator\$IndicativeSentences",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$ClassInfo",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$LifecycleMethods",
"org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor",
"org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor",
"org.junit.jupiter.engine.descriptor.DynamicDescendantFilter\$Mode",
"org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector\$1",
"org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor\$MethodInfo",
"org.junit.jupiter.engine.discovery.ClassSelectorResolver\$DummyClassTemplateInvocationContext",
"org.junit.platform.engine.support.store.NamespacedHierarchicalStore\$EvaluatedValue",
"org.junit.platform.launcher.core.DiscoveryIssueNotifier",
"org.junit.platform.launcher.core.HierarchicalOutputDirectoryProvider",
"org.junit.platform.launcher.core.LauncherDiscoveryResult\$EngineResultInfo",
"org.junit.platform.suite.engine.SuiteTestDescriptor\$LifecycleMethods",
)
binaries {
named("test") {
buildArgs.add("--initialize-at-build-time=${initializeAtBuildTime.joinToString(",")}")
}
}
}
24 changes: 0 additions & 24 deletions smoke-tests-otel-starter/spring-boot-3/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,4 @@ graalvmNative {
useJUnitPlatform()
setForkEvery(1)
}

// see https://github.com/junit-team/junit5/wiki/Upgrading-to-JUnit-5.13
// should not be needed after updating native build tools to 0.11.0
val initializeAtBuildTime = listOf(
"org.junit.jupiter.api.DisplayNameGenerator\$IndicativeSentences",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$ClassInfo",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$LifecycleMethods",
"org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor",
"org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor",
"org.junit.jupiter.engine.descriptor.DynamicDescendantFilter\$Mode",
"org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector\$1",
"org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor\$MethodInfo",
"org.junit.jupiter.engine.discovery.ClassSelectorResolver\$DummyClassTemplateInvocationContext",
"org.junit.platform.engine.support.store.NamespacedHierarchicalStore\$EvaluatedValue",
"org.junit.platform.launcher.core.DiscoveryIssueNotifier",
"org.junit.platform.launcher.core.HierarchicalOutputDirectoryProvider",
"org.junit.platform.launcher.core.LauncherDiscoveryResult\$EngineResultInfo",
"org.junit.platform.suite.engine.SuiteTestDescriptor\$LifecycleMethods",
)
binaries {
named("test") {
buildArgs.add("--initialize-at-build-time=${initializeAtBuildTime.joinToString(",")}")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,4 @@ graalvmNative {
useJUnitPlatform()
setForkEvery(1)
}

// see https://github.com/junit-team/junit5/wiki/Upgrading-to-JUnit-5.13
// should not be needed after updating native build tools to 0.11.0
val initializeAtBuildTime = listOf(
"org.junit.jupiter.api.DisplayNameGenerator\$IndicativeSentences",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$ClassInfo",
"org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor\$LifecycleMethods",
"org.junit.jupiter.engine.descriptor.ClassTemplateInvocationTestDescriptor",
"org.junit.jupiter.engine.descriptor.ClassTemplateTestDescriptor",
"org.junit.jupiter.engine.descriptor.DynamicDescendantFilter\$Mode",
"org.junit.jupiter.engine.descriptor.ExclusiveResourceCollector\$1",
"org.junit.jupiter.engine.descriptor.MethodBasedTestDescriptor\$MethodInfo",
"org.junit.jupiter.engine.discovery.ClassSelectorResolver\$DummyClassTemplateInvocationContext",
"org.junit.platform.engine.support.store.NamespacedHierarchicalStore\$EvaluatedValue",
"org.junit.platform.launcher.core.DiscoveryIssueNotifier",
"org.junit.platform.launcher.core.HierarchicalOutputDirectoryProvider",
"org.junit.platform.launcher.core.LauncherDiscoveryResult\$EngineResultInfo",
"org.junit.platform.suite.engine.SuiteTestDescriptor\$LifecycleMethods",
)
binaries {
named("test") {
buildArgs.add("--initialize-at-build-time=${initializeAtBuildTime.joinToString(",")}")
}
}
}
Loading