Skip to content

Commit

Permalink
Gradle update to avoid Apple platform dependencies issues
Browse files Browse the repository at this point in the history
  • Loading branch information
svok committed Sep 25, 2023
1 parent cb7747f commit d0aef50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -176,9 +179,6 @@ tasks {
dependsOn(publish)
}

// this.forEach {
// println("${it.name} ${it::class}")
// }
withType<Test> {
useJUnitPlatform()
reports {
Expand All @@ -194,9 +194,7 @@ tasks {
create("deploy") {
group = "build"
dependsOn(publish)
// dependsOn(closeAndReleaseRepository)
}

}

fun Test.setupTestLogging() {
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d0aef50

Please sign in to comment.