Skip to content

Commit

Permalink
Update Gradle plugin publishing setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD committed Nov 12, 2023
1 parent 46efc83 commit ec8ba18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
5 changes: 0 additions & 5 deletions buildSrc/src/main/kotlin/gradle-plugin.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import gradle.kotlin.dsl.accessors._3446ec0516f3690bb745eb6b3e74e05f.signing
import publishing.trySignAll

plugins {
id("com.gradle.plugin-publish")
}

dependencies {
compileOnly(gradleKotlinDsl())
}

java { withSourcesJar() }
9 changes: 3 additions & 6 deletions gradle-plugins/settings-include-dsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ plugins {
group = "org.splitties.incubator"

gradlePlugin {
website = "https://github.com/LouisCAD/LibPublishingHelpers/tree/main/gradle-plugins/settings-include-dsl"
vcsUrl = "https://github.com/LouisCAD/LibPublishingHelpers.git"
plugins {
create(project.name) {
id = "org.splitties.incubator.settings-include-dsl"
displayName = "Settings include DSL"
description = "For Gradle projects with nested modules where you call include a lot."
tags = listOf("kotlin-dsl", "kotlin")
implementationClass = "org.splitties.incubator.gradle.SettingsIncludeDslPlugin"
}
}
Expand All @@ -19,9 +22,3 @@ gradlePlugin {
kotlin {
jvmToolchain(8)
}

pluginBundle {
website = "https://github.com/LouisCAD/LibPublishingHelpers/tree/main/gradle-plugins/settings-include-dsl"
vcsUrl = "https://github.com/LouisCAD/LibPublishingHelpers.git"
tags = listOf("kotlin-dsl", "kotlin")
}
9 changes: 3 additions & 6 deletions gradle-plugins/version-sync/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ plugins {
group = "org.splitties.incubator"

gradlePlugin {
website = "https://github.com/LouisCAD/LibPublishingHelpers/tree/main/gradle-plugins/version-sync"
vcsUrl = "https://github.com/LouisCAD/LibPublishingHelpers.git"
plugins {
create(project.name) {
id = "org.splitties.incubator.version-sync"
displayName = "Sync version in all projects"
description = "For library or Gradle plugin projects where you want to centralize where the version is defined."
tags = listOf("kotlin-dsl", "kotlin", "versioning", "multi-modules")
implementationClass = "org.splitties.incubator.gradle.VersionSyncPlugin"
}
}
Expand All @@ -19,9 +22,3 @@ gradlePlugin {
kotlin {
jvmToolchain(8)
}

pluginBundle {
website = "https://github.com/LouisCAD/LibPublishingHelpers/tree/main/gradle-plugins/version-sync"
vcsUrl = "https://github.com/LouisCAD/LibPublishingHelpers.git"
tags = listOf("kotlin-dsl", "kotlin", "versioning", "multi-modules")
}

0 comments on commit ec8ba18

Please sign in to comment.