Skip to content

Commit

Permalink
feat: Enable publishing of the bundled plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Jun 21, 2024
1 parent c6d5999 commit 427a48a
Showing 1 changed file with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin

plugins {
id("net.kyori.indra.publishing")
}
Expand All @@ -25,24 +23,17 @@ indra {
configurePublications {
pom {
organization {
name.set("Xpdustry")
url.set("https://www.xpdustry.com")
name = "Xpdustry"
url = "https://www.xpdustry.com"
}

developers {
developer {
id.set("Phinner")
timezone.set("Europe/Brussels")
id = "phinner"
url = "https://github.com/phinner"
timezone = "Europe/Brussels"
}
}
}
}
}

plugins.withType<ShadowJavaPlugin> {
components.withType<AdhocComponentWithVariants>().forEach {
it.withVariantsFromConfiguration(project.configurations.named("shadowRuntimeElements").get()) {
skip()
}
}
}

0 comments on commit 427a48a

Please sign in to comment.