Skip to content

Commit 553dc18

Browse files
committed
chore: Attempt4 - Some fixes
1 parent 664e385 commit 553dc18

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
run: |
109109
MKTEMP_PATH="$(dirname "$(mktemp -u)")/"
110110
echo "MKTEMP_PATH=$MKTEMP_PATH" >> $GITHUB_ENV
111-
./gradlew buildAndPublish --no-daemon --stacktrace
111+
./gradlew buildAndPublish --no-daemon
112112
# echo "dist_path=backend/jvm/build/libs/jvm-all.jar" >> "$GITHUB_OUTPUT"
113113
env:
114114
GITHUB_USER: ${{ github.repository_owner }}

gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ org.gradle.caching=true
55
org.gradle.daemon=true
66
org.gradle.configureondemand=true
77
org.gradle.configuration-cache=false
8+
org.gradle.logging.stacktrace=full
89
org.gradle.kotlin.dsl.allWarningsAsErrors=true
910
# org.gradle.configuration-cache.problems=warn
1011
# org.gradle.configuration-cache.max-problems=5

gradle/build-logic/gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ org.gradle.daemon=true
66
org.gradle.configureondemand=true
77
org.gradle.configuration-cache=true
88
org.gradle.configuration-cache.problems=warn
9+
org.gradle.logging.stacktrace=full
910
org.gradle.kotlin.dsl.allWarningsAsErrors=true
1011

1112
## Kotlin

gradle/build-logic/src/main/kotlin/plugins/publishing.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,14 @@ fun MavenPublication.configurePom() {
144144
}
145145

146146
tasks {
147+
withType<Sign>().configureEach { onlyIf { hasSigningKey } }
147148

148149
// Suppressing publication validation errors
149150
withType<GenerateModuleMetadata> { suppressedValidationErrors.add("enforced-platform") }
150151

151152
// For publishing kotlin native binaries
152153
withType<PublishToMavenRepository>().configureEach { mustRunAfter(withType<KotlinNativeLink>()) }
153154

154-
// withType<Sign>().configureEach { onlyIf { hasSigningKey } }
155-
156155
// cyclonedxBom {
157156
// includeConfigs = listOf("runtimeClasspath")
158157
// skipConfigs = listOf("compileClasspath", "testCompileClasspath")

0 commit comments

Comments
 (0)