We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92aad60 commit 5c0fa0eCopy full SHA for 5c0fa0e
postgres-native-sqldelight-dialect/build.gradle.kts
@@ -80,7 +80,7 @@ tasks.withType<GenerateModuleMetadata> {
80
// Remove dependencies from POM: uber jar has no dependencies
81
publishing {
82
publications {
83
- withType(MavenPublication::class.java) {
+ withType<MavenPublication> {
84
if (name == "pluginMaven") {
85
pom.withXml {
86
val pomNode = asNode()
@@ -91,6 +91,9 @@ publishing {
91
}
92
93
94
+ artifact(tasks.emptyJar) {
95
+ classifier = "sources"
96
+ }
97
98
create("shadow", MavenPublication::class.java) {
99
project.shadow.component(this)
0 commit comments