Skip to content

Commit

Permalink
Fix: Publish idea-plugin (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dansanduleac authored Oct 11, 2019
1 parent cc9be81 commit eee9038
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion idea-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
apply plugin: 'maven-publish'
apply plugin: 'org.jetbrains.intellij'

apply from: rootProject.file('gradle/publish-jar.gradle')

intellij {
pluginName = "palantir-java-format"
updateSinceUntilBuild = true
Expand Down Expand Up @@ -50,9 +52,12 @@ runIde.dependsOn buildPlugin

buildSearchableOptions.enabled = false

// Prevent nebula.maven-publish from trying to publish components.java - we are publishing our own different artifact
ext."nebulaPublish.maven.jar" = false

publishing {
publications {
idea(MavenPublication) {
nebula(MavenPublication) {
artifact buildPlugin
}
}
Expand All @@ -61,3 +66,6 @@ publishing {
versionsLock {
disableJavaPluginDefaults()
}

// Javadoc fails if there are no public classes to javadoc, so make it stop complaining.
tasks.javadoc.failOnError = false

0 comments on commit eee9038

Please sign in to comment.