Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 7, 2024
1 parent 278d6de commit ebd5eb7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ jobs:
if: "${{ env.STATUS == 'release' && startsWith(github.ref, 'refs/tags/') }}"
run: ./gradlew publishPlugins
env:
ORG_GRADLE_PROJECT_pluginPortalApiKey: "${{ secrets.GRADLE_PLUGIN_PORTAL_KEY }}"
ORG_GRADLE_PROJECT_pluginPortalApiSecret: "${{ secrets.GRADLE_PLUGIN_PORTAL_SECRET }}"
GRADLE_PUBLISH_KEY: "${{ secrets.GRADLE_PLUGIN_PORTAL_KEY }}"
GRADLE_PUBLISH_SECRET: "${{ secrets.GRADLE_PLUGIN_PORTAL_SECRET }}"
10 changes: 10 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,17 @@ kotlin {
}
}

gradlePlugin {
website = "https://github.com/Incendo"
vcsUrl = "https://github.com/Incendo/cloud-build-logic"
}

gradlePlugin.plugins.register("base") {
id = "org.incendo.cloud-build-logic"
displayName = "Cloud Build Logic"
implementationClass = "org.incendo.cloudbuildlogic.BasePlugin"
description = project.description
tags.addAll("Cloud", "Build-Logic")
}

plugin("errorprone", "org.incendo.cloudbuildlogic.ErrorpronePlugin")
Expand All @@ -45,7 +53,9 @@ fun plugin(name: String, implClass: String) {
val prefixedId = "org.incendo.cloud-build-logic.$name"
gradlePlugin.plugins.register(name) {
id = prefixedId
displayName = "Cloud Build Logic ($name)"
implementationClass = implClass
description = project.description
tags.addAll("Cloud", "Build-Logic", name)
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
group=org.incendo
description=Shared build logic for cloud projects
version=0.0.1-SNAPSHOT
version=0.0.1

org.gradle.parallel=true
org.gradle.caching=true

0 comments on commit ebd5eb7

Please sign in to comment.