Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Dependabot configuration:
# https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
# Maintain dependencies for Gradle dependencies
- package-ecosystem: "gradle"
directory: "/"
target-branch: "next"
schedule:
interval: "daily"
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "next"
schedule:
interval: "daily"
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,34 @@ jobs:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}

# Setup Java 11 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
cache: gradle

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

- name: Build Plugin
run: |
./gradlew buildPlugin --no-daemon
VERSION=${{ github.ref_name }}
./gradlew buildPlugin -PpluginVersion="${VERSION:1}"

- name: Publish Release
env:
DIST_DIR: "./build/distributions"
run: |
VERSION=${{ github.ref_name }}
PROJECT_NAME="$(basename ${{ github.repository }})"
PKG="$PROJECT_NAME-${{ github.ref_name }}.zip"
PKG="$PROJECT_NAME-${VERSION:1}.zip"
ls -l "$DIST_DIR"
mv "$DIST_DIR/$PROJECT_NAME-snapshot.zip" "$DIST_DIR/$PKG"
gh release create ${{ github.ref_name }} "$DIST_DIR/$PKG" --generate-notes
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
## [Unreleased]

- See [Releases](https://github.com/junkfactory/java-inner-builder/releases) for full changelog

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,11 @@ record Address(String street, String city, String state, String country) {
}
}
}
```
```

## Installation

1. Download plugin zip file from [Releases](https://github.com/junkfactory/java-inner-builder/releases)
2. Open IntelliJ IDEA, go to `File -> Settings -> Plugins`
3. Click on the gear icon and select `Install Plugin from Disk...`
4. Select the downloaded zip file and click `OK`