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"