-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from futuredapp/feature/publishing
Publish to Gradle Plugin Portal
- Loading branch information
Showing
8 changed files
with
111 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Validate Gradle Wrapper | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
validation: | ||
name: Validation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout latest code | ||
uses: actions/checkout@v4 | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Publish Plugin to Gradle Plugin Portal | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
gradle: | ||
runs-on: ubuntu-latest | ||
env: | ||
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} | ||
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
- name: Publish on Plugin Portal | ||
run: ./gradlew :plugin:setupPublishSecrets :plugin:publishPlugins | ||
if: success() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Release process | ||
|
||
This document describes release process of this plugin into `Gradle Plugin Portal` repository. | ||
There is only one type of publication -- release. Snapshots | ||
are [not supported](https://plugins.gradle.org/docs/publish-plugin) by Gradle Plugin Portal. | ||
|
||
### Release | ||
|
||
New release is published automatically when a new tag is created which should be done by creating a new release within | ||
GitHub UI. | ||
|
||
#### Before release | ||
|
||
1. Update the plugin `VERSION` property in [gradle.properties](gradle.properties) file. | ||
2. Update the plugin version in [README](README.md) file. | ||
|
||
CI run specification: [.github/workflows/publish.yml](.github/workflows/publish.yml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
kotlin.code.style=official | ||
|
||
# region Publishing | ||
|
||
ID=app.futured.sheethappens | ||
VERSION=0.5.6 | ||
GROUP=app.futured.sheethappens | ||
DISPLAY_NAME=Sheet Happens | ||
DESCRIPTION=Gradle plugin for generating Android / KMP string translations from Google Spreadsheets | ||
WEBSITE=https://github.com/futuredapp/sheet-happens | ||
VCS_URL=https://github.com/futuredapp/sheet-happens | ||
IMPLEMENTATION_CLASS=app.futured.sheethappens.plugin.SheetHappensPlugin | ||
|
||
# endregion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters