From d0aef507d0b7d1b348597f0dda548d0884b0024d Mon Sep 17 00:00:00 2001 From: Sergey Okatov Date: Mon, 25 Sep 2023 17:12:20 +0500 Subject: [PATCH] Gradle update to avoid Apple platform dependencies issues --- build.gradle.kts | 14 +++++++------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index b847728..ea4097b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -143,7 +143,10 @@ publishing { artifact(javadocJar) pom { name.set("Kotlin CoR") - description.set("Chain of Responsibility Design Template Library for human readable business logic: $name platform") + description.set( + "Chain of Responsibility Design Template Library for human readable business " + + "logic: $name platform" + ) url.set("https://github.com/crowdproj/kotlin-cor") licenses { license { @@ -176,9 +179,6 @@ tasks { dependsOn(publish) } -// this.forEach { -// println("${it.name} ${it::class}") -// } withType { useJUnitPlatform() reports { @@ -194,9 +194,7 @@ tasks { create("deploy") { group = "build" dependsOn(publish) -// dependsOn(closeAndReleaseRepository) } - } fun Test.setupTestLogging() { @@ -218,7 +216,9 @@ fun Test.setupTestLogging() { override fun afterTest(testDescriptor: TestDescriptor, result: TestResult) {} override fun afterSuite(suite: TestDescriptor, result: TestResult) { if (suite.parent != null) { // will match the outermost suite - val output = "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} passed, ${result.failedTestCount} failed, ${result.skippedTestCount} skipped)" + val output = "Results: ${result.resultType} (${result.testCount} tests, " + + "${result.successfulTestCount} passed, ${result.failedTestCount} failed, " + + "${result.skippedTestCount} skipped)" val startItem = "| " val endItem = " |" val repeatLength = startItem.length + output.length + endItem.length diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 84a0b92..db9a6b8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists