Skip to content

Commit e9b69ca

Browse files
authored
Merge pull request #90 from qiaoyuang/main
Fix the problem that can't publish to Maven
2 parents d685cce + 3305f8b commit e9b69ca

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

sqllin-driver/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,9 @@ publishing {
200200
useInMemoryPgpKeys(SIGNING_KEY_ID, SIGNING_KEY, SIGNING_PASSWORD)
201201
sign(publishing.publications)
202202
}
203+
}
204+
205+
// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
206+
project.tasks.withType(AbstractPublishToMaven::class.java).configureEach {
207+
dependsOn(project.tasks.withType(Sign::class.java))
203208
}

sqllin-dsl/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,9 @@ publishing {
226226
useInMemoryPgpKeys(SIGNING_KEY_ID, SIGNING_KEY, SIGNING_PASSWORD)
227227
sign(publishing.publications)
228228
}
229+
}
230+
231+
// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
232+
project.tasks.withType(AbstractPublishToMaven::class.java).configureEach {
233+
dependsOn(project.tasks.withType(Sign::class.java))
229234
}

0 commit comments

Comments
 (0)