File tree 1 file changed +5
-11
lines changed
jupyter-lib/kotlin-jupyter-api-gradle-plugin
1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ val saveVersion by tasks.registering {
48
48
}
49
49
}
50
50
51
+ java {
52
+ withSourcesJar()
53
+ withJavadocJar()
54
+ }
55
+
51
56
tasks {
52
57
processResources {
53
58
dependsOn(saveVersion)
@@ -59,11 +64,6 @@ tasks {
59
64
events(" passed" , " skipped" , " failed" )
60
65
}
61
66
}
62
-
63
- register<Jar >(" sourceJar" ) {
64
- archiveClassifier.set(" sources" )
65
- from(sourceSets.named(" main" ).get().allSource)
66
- }
67
67
}
68
68
69
69
val pluginName = " apiGradlePlugin"
@@ -97,12 +97,6 @@ pluginBundle {
97
97
}
98
98
99
99
publishing {
100
- publications {
101
- withType<MavenPublication > {
102
- artifact(tasks[" sourceJar" ])
103
- }
104
- }
105
-
106
100
repositories {
107
101
(rootProject.findProperty(" localPublicationsRepo" ) as ? java.nio.file.Path )?.let {
108
102
maven {
You can’t perform that action at this time.
0 commit comments