Skip to content

Commit

Permalink
fix(plugin): publishing (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeg authored Sep 25, 2024
1 parent 5a392aa commit 3b46700
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ dependencies {
compile localGroovy()
}

javadoc {
source 'buildSrc/src/main/java'
}

groovydoc {
source 'buildSrc/src/main/groovy'
}

jar {
from "${rootProject.rootDir}/buildSrc/build/classes/groovy/main"
from("${rootProject.rootDir}/buildSrc/src/main/groovy") {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.widen.plugins.buildkite;

/**
* This class only serves as a placeholder to generate non-empty javadoc, which appears to be required for
* plugin publishing (and having multiple sources with the same hash causes an error within the plugin-publish plugin).
*/
public class JavadocStub {
}

0 comments on commit 3b46700

Please sign in to comment.