Skip to content

Commit

Permalink
Only apply javadoc links plugin in published projects
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 29, 2024
1 parent 58b56a7 commit d929339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/kotlin/org/incendo/cloudbuildlogic/BasePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class BasePlugin : Plugin<Project> {
target.plugins.apply("net.kyori.indra.checkstyle")
target.plugins.apply(BaselineImmutables::class)
target.plugins.apply(IncludeImmutablesSources::class)
target.plugins.apply(JavadocLinksPlugin::class)

target.extensions.configure(IndraExtension::class) {
javaVersions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ package org.incendo.cloudbuildlogic
import net.kyori.indra.IndraExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.configure

class PublishingPlugin : Plugin<Project> {
override fun apply(target: Project) {
target.plugins.apply("net.kyori.indra.publishing")
target.plugins.apply(JavadocLinksPlugin::class)

target.extensions.configure(IndraExtension::class) {
signWithKeyFromProperties("signingKey", "signingPassword")
Expand Down

0 comments on commit d929339

Please sign in to comment.