From a9b4ac576e3df6ef6224fb5cc93f9b14aa7aa80a Mon Sep 17 00:00:00 2001 From: Ahoo Wang Date: Wed, 15 Nov 2023 16:26:28 +0800 Subject: [PATCH] feat: Record unit test exception details --- build.gradle.kts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 3efeb08b19..8f23cc429b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import org.gradle.api.tasks.testing.logging.TestExceptionFormat + /* * Copyright [2021-present] [ahoo wang (https://github.com/Ahoo-Wang)]. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -115,6 +117,9 @@ configure(libraryProjects) { tasks.withType { useJUnitPlatform() + testLogging { + exceptionFormat = TestExceptionFormat.FULL + } jvmArgs = listOf( // fix logging missing code for JacocoPlugin @@ -164,6 +169,14 @@ configure(publishProjects) { password = System.getenv("GITHUB_TOKEN") } } + maven { + name = "LinYiPackages" + url = uri(project.properties["linyiPackageReleaseUrl"].toString()) + credentials { + username = project.properties["linyiPackageUsername"]?.toString() + password = project.properties["linyiPackagePwd"]?.toString() + } + } } publications { val publishName = if (isBom) "mavenBom" else "mavenLibrary"