File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
jupyter-lib/kotlin-jupyter-api-gradle-plugin Expand file tree Collapse file tree 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 {
4848 }
4949}
5050
51+ java {
52+ withSourcesJar()
53+ withJavadocJar()
54+ }
55+
5156tasks {
5257 processResources {
5358 dependsOn(saveVersion)
@@ -59,11 +64,6 @@ tasks {
5964 events(" passed" , " skipped" , " failed" )
6065 }
6166 }
62-
63- register<Jar >(" sourceJar" ) {
64- archiveClassifier.set(" sources" )
65- from(sourceSets.named(" main" ).get().allSource)
66- }
6767}
6868
6969val pluginName = " apiGradlePlugin"
@@ -97,12 +97,6 @@ pluginBundle {
9797}
9898
9999publishing {
100- publications {
101- withType<MavenPublication > {
102- artifact(tasks[" sourceJar" ])
103- }
104- }
105-
106100 repositories {
107101 (rootProject.findProperty(" localPublicationsRepo" ) as ? java.nio.file.Path )?.let {
108102 maven {
You can’t perform that action at this time.
0 commit comments