Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build missing Swift on Linux and publishing plugins #87

Merged
merged 4 commits into from
May 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Automatically add all published plugins to "all" tasks
  • Loading branch information
octylFractal committed May 30, 2024
commit c056b895f50116d29a8a6b5ad39315b7d1f3aac4
25 changes: 19 additions & 6 deletions unified-prototype/unified-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,24 @@ subprojects {
version = "0.1.2-SNAPSHOT"
}

tasks.register("publishAllPlugins") {
val publishAllPlugins = tasks.register("publishAllPlugins") {
description = "Publish all plugins in the build"
dependsOn(
":plugin-android:publishPlugins",
":plugin-jvm:publishPlugins",
":plugin-kmp:publishPlugins",
)
}
subprojects {
plugins.withId("build-logic.publishing") {
publishAllPlugins.configure {
dependsOn(tasks.named("publishPlugins"))
}
}
}

val publishAllPluginsToMavenLocal = tasks.register("publishAllPluginsToMavenLocal") {
description = "Publish all plugins in the build to the Maven Local repository"
}
subprojects {
plugins.withId("build-logic.publishing") {
publishAllPluginsToMavenLocal.configure {
dependsOn(tasks.named("publishToMavenLocal"))
}
}
}