update config and files to latest jetbrains plugin template version
This commit is contained in:
parent
dfccf1f994
commit
0a4dce76d4
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@ -3,7 +3,15 @@
|
|||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
# Maintain dependencies for Gradle dependencies
|
||||||
- package-ecosystem: "gradle"
|
- package-ecosystem: "gradle"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
|
target-branch: "next"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
# Maintain dependencies for GitHub Actions
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
target-branch: "next"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
265
.github/workflows/build.yml
vendored
265
.github/workflows/build.yml
vendored
@ -1,111 +1,53 @@
|
|||||||
# GitHub Actions Workflow created for testing and preparing the plugin release in following steps:
|
# GitHub Actions Workflow created for testing and preparing the plugin release in following steps:
|
||||||
# - validate Gradle Wrapper,
|
# - validate Gradle Wrapper,
|
||||||
# - run test and verifyPlugin tasks,
|
# - run 'test' and 'verifyPlugin' tasks,
|
||||||
# - run buildPlugin task and prepare artifact for the further tests,
|
# - run Qodana inspections,
|
||||||
# - run IntelliJ Plugin Verifier,
|
# - run 'buildPlugin' task and prepare artifact for the further tests,
|
||||||
|
# - run 'runPluginVerifier' task,
|
||||||
# - create a draft release.
|
# - create a draft release.
|
||||||
#
|
#
|
||||||
# Workflow is triggered on push and pull_request events.
|
# Workflow is triggered on push and pull_request events.
|
||||||
#
|
#
|
||||||
# Docs:
|
# GitHub Actions reference: https://help.github.com/en/actions
|
||||||
# - GitHub Actions: https://help.github.com/en/actions
|
|
||||||
# - IntelliJ Plugin Verifier GitHub Action: https://github.com/ChrisCarini/intellij-platform-plugin-verifier-action
|
|
||||||
#
|
#
|
||||||
## JBIJPPTPL
|
## JBIJPPTPL
|
||||||
|
|
||||||
name: Build
|
name: Build
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests)
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
# Trigger the workflow on any pull request
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
|
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
|
||||||
gradleValidation:
|
# Run verifyPlugin, IntelliJ Plugin Verifier, and test Gradle tasks
|
||||||
name: Gradle Wrapper
|
# Build plugin and provide the artifact for the next workflow jobs
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
version: ${{ steps.properties.outputs.version }}
|
||||||
|
changelog: ${{ steps.properties.outputs.changelog }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Check out current repository
|
# Check out current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
# Validate wrapper
|
# Validate wrapper
|
||||||
- name: Gradle Wrapper Validation
|
- name: Gradle Wrapper Validation
|
||||||
uses: gradle/wrapper-validation-action@v1.0.3
|
uses: gradle/wrapper-validation-action@v1.0.4
|
||||||
|
|
||||||
# Run verifyPlugin and test Gradle tasks
|
# Setup Java 11 environment for the next steps
|
||||||
test:
|
|
||||||
name: Test
|
|
||||||
needs: gradleValidation
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
# Setup Java 1.8 environment for the next steps
|
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
|
distribution: zulu
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
cache: gradle
|
||||||
# Check out current repository
|
|
||||||
- name: Fetch Sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
# Cache Gradle dependencies
|
|
||||||
- name: Setup Gradle Dependencies Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/caches
|
|
||||||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}
|
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
|
||||||
- name: Setup Gradle Wrapper Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
|
||||||
|
|
||||||
# Run detekt, ktlint and tests
|
|
||||||
- name: Run Linters and Test
|
|
||||||
run: ./gradlew check
|
|
||||||
|
|
||||||
# Run verifyPlugin Gradle task
|
|
||||||
- name: Verify Plugin
|
|
||||||
run: ./gradlew verifyPlugin
|
|
||||||
|
|
||||||
# Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs
|
|
||||||
# Requires test job to be passed
|
|
||||||
build:
|
|
||||||
name: Build
|
|
||||||
needs: test
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
outputs:
|
|
||||||
name: ${{ steps.properties.outputs.name }}
|
|
||||||
version: ${{ steps.properties.outputs.version }}
|
|
||||||
changelog: ${{ steps.properties.outputs.changelog }}
|
|
||||||
artifact: ${{ steps.properties.outputs.artifact }}
|
|
||||||
steps:
|
|
||||||
|
|
||||||
# Setup Java 1.8 environment for the next steps
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v1
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
|
|
||||||
# Check out current repository
|
|
||||||
- name: Fetch Sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
# Cache Gradle Dependencies
|
|
||||||
- name: Setup Gradle Dependencies Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/caches
|
|
||||||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}
|
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
|
||||||
- name: Setup Gradle Wrapper Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
- name: Export Properties
|
- name: Export Properties
|
||||||
@ -119,128 +61,99 @@ jobs:
|
|||||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
ARTIFACT="${NAME}-${VERSION}.zip"
|
|
||||||
|
|
||||||
echo "::set-output name=version::$VERSION"
|
echo "::set-output name=version::$VERSION"
|
||||||
echo "::set-output name=name::$NAME"
|
echo "::set-output name=name::$NAME"
|
||||||
echo "::set-output name=changelog::$CHANGELOG"
|
echo "::set-output name=changelog::$CHANGELOG"
|
||||||
echo "::set-output name=artifact::$ARTIFACT"
|
|
||||||
|
|
||||||
# Build artifact using buildPlugin Gradle task
|
|
||||||
- name: Build Plugin
|
|
||||||
run: ./gradlew buildPlugin
|
|
||||||
|
|
||||||
# Upload plugin artifact to make it available in the next jobs
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-artifact@v1
|
|
||||||
with:
|
|
||||||
name: plugin-artifact
|
|
||||||
path: ./build/distributions/${{ steps.properties.outputs.artifact }}
|
|
||||||
|
|
||||||
# Verify built plugin using IntelliJ Plugin Verifier tool
|
|
||||||
# Requires build job to be passed
|
|
||||||
verify:
|
|
||||||
name: Verify
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
# Setup Java 1.8 environment for the next steps
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v1
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
|
|
||||||
# Check out current repository
|
|
||||||
- name: Fetch Sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
# Cache Gradle Dependencies
|
|
||||||
- name: Setup Gradle Dependencies Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/caches
|
|
||||||
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}
|
|
||||||
|
|
||||||
# Cache Gradle Wrapper
|
|
||||||
- name: Setup Gradle Wrapper Cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
|
||||||
|
|
||||||
# Set environment variables
|
|
||||||
- name: Export Properties
|
|
||||||
id: properties
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
PROPERTIES="$(./gradlew properties --console=plain -q)"
|
|
||||||
IDE_VERSIONS="$(echo "$PROPERTIES" | grep "^pluginVerifierIdeVersions:" | base64)"
|
|
||||||
|
|
||||||
echo "::set-output name=ideVersions::$IDE_VERSIONS"
|
|
||||||
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
|
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
|
||||||
|
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
|
||||||
|
# Run tests
|
||||||
|
- name: Run Tests
|
||||||
|
run: ./gradlew test
|
||||||
|
|
||||||
|
# Collect Tests Result of failed tests
|
||||||
|
- name: Collect Tests Result
|
||||||
|
if: ${{ failure() }}
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: tests-result
|
||||||
|
path: ${{ github.workspace }}/build/reports/tests
|
||||||
|
|
||||||
# Cache Plugin Verifier IDEs
|
# Cache Plugin Verifier IDEs
|
||||||
- name: Setup Plugin Verifier IDEs Cache
|
- name: Setup Plugin Verifier IDEs Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2.1.6
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
|
path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
|
||||||
key: ${{ runner.os }}-plugin-verifier-${{ steps.properties.outputs.ideVersions }}
|
key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
|
||||||
|
|
||||||
# Run IntelliJ Plugin Verifier action using GitHub Action
|
# Run Verify Plugin task and IntelliJ Plugin Verifier tool
|
||||||
- name: Verify Plugin
|
- name: Run Plugin Verification tasks
|
||||||
run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}
|
run: ./gradlew runPluginVerifier -Pplugin.verifier.home.dir=${{ steps.properties.outputs.pluginVerifierHomeDir }}
|
||||||
|
|
||||||
|
# Collect Plugin Verifier Result
|
||||||
|
- name: Collect Plugin Verifier Result
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pluginVerifier-result
|
||||||
|
path: ${{ github.workspace }}/build/reports/pluginVerifier
|
||||||
|
|
||||||
|
# Run Qodana inspections
|
||||||
|
- name: Qodana - Code Inspection
|
||||||
|
uses: JetBrains/qodana-action@v2.1-eap
|
||||||
|
|
||||||
|
# Collect Qodana Result
|
||||||
|
- name: Collect Qodana Result
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: qodana-result
|
||||||
|
path: ${{ github.workspace }}/qodana
|
||||||
|
|
||||||
|
# Prepare plugin archive content for creating artifact
|
||||||
|
- name: Prepare Plugin Artifact
|
||||||
|
id: artifact
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd ${{ github.workspace }}/build/distributions
|
||||||
|
FILENAME=`ls *.zip`
|
||||||
|
unzip "$FILENAME" -d content
|
||||||
|
echo "::set-output name=filename::$FILENAME"
|
||||||
|
# Store already-built plugin as an artifact for downloading
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v2.2.4
|
||||||
|
with:
|
||||||
|
name: ${{ steps.artifact.outputs.filename }}
|
||||||
|
path: ./build/distributions/content/*/*
|
||||||
|
|
||||||
# Prepare a draft release for GitHub Releases page for the manual verification
|
# Prepare a draft release for GitHub Releases page for the manual verification
|
||||||
# If accepted and published, release workflow would be triggered
|
# If accepted and published, release workflow would be triggered
|
||||||
releaseDraft:
|
releaseDraft:
|
||||||
name: Release Draft
|
name: Release Draft
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
needs: [build, verify]
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Check out current repository
|
# Check out current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
# Remove old release drafts by using the curl request for the available releases with draft flag
|
# Remove old release drafts by using the curl request for the available releases with draft flag
|
||||||
- name: Remove Old Release Drafts
|
- name: Remove Old Release Drafts
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
curl -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/$GITHUB_REPOSITORY/releases \
|
gh api repos/{owner}/{repo}/releases \
|
||||||
| tr '\r\n' ' ' \
|
--jq '.[] | select(.draft == true) | .id' \
|
||||||
| jq '.[] | select(.draft == true) | .id' \
|
| xargs -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{}
|
||||||
| xargs -I '{}' \
|
|
||||||
curl -X DELETE -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/$GITHUB_REPOSITORY/releases/{}
|
|
||||||
|
|
||||||
# Create new release draft - which is not publicly visible and requires manual acceptance
|
# Create new release draft - which is not publicly visible and requires manual acceptance
|
||||||
- name: Create Release Draft
|
- name: Create Release Draft
|
||||||
id: createDraft
|
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
run: |
|
||||||
tag_name: v${{ needs.build.outputs.version }}
|
gh release create v${{ needs.build.outputs.version }} \
|
||||||
release_name: v${{ needs.build.outputs.version }}
|
--draft \
|
||||||
body: ${{ needs.build.outputs.changelog }}
|
--title "v${{ needs.build.outputs.version }}" \
|
||||||
draft: true
|
--notes "$(cat << 'EOM'
|
||||||
|
${{ needs.build.outputs.changelog }}
|
||||||
# Download plugin artifact provided by the previous job
|
EOM
|
||||||
- name: Download Artifact
|
)"
|
||||||
uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: plugin-artifact
|
|
||||||
|
|
||||||
# Upload artifact as a release asset
|
|
||||||
- name: Upload Release Asset
|
|
||||||
id: upload-release-asset
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.createDraft.outputs.upload_url }}
|
|
||||||
asset_path: ./${{ needs.build.outputs.artifact }}
|
|
||||||
asset_name: ${{ needs.build.outputs.artifact }}
|
|
||||||
asset_content_type: application/zip
|
|
91
.github/workflows/release.yml
vendored
91
.github/workflows/release.yml
vendored
@ -14,57 +14,66 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Setup Java 1.8 environment for the next steps
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@v1
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
|
|
||||||
# Check out current repository
|
# Check out current repository
|
||||||
- name: Fetch Sources
|
- name: Fetch Sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2.4.0
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.release.tag_name }}
|
ref: ${{ github.event.release.tag_name }}
|
||||||
|
|
||||||
|
# Setup Java 11 environment for the next steps
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
distribution: zulu
|
||||||
|
java-version: 11
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
|
# Set environment variables
|
||||||
|
- name: Export Properties
|
||||||
|
id: properties
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
CHANGELOG="$(cat << 'EOM' | sed -e 's/^[[:space:]]*$//g' -e '/./,$!d'
|
||||||
|
${{ github.event.release.body }}
|
||||||
|
EOM
|
||||||
|
)"
|
||||||
|
|
||||||
|
echo "::set-output name=changelog::$CHANGELOG"
|
||||||
|
# Update Unreleased section with the current release note
|
||||||
|
- name: Patch Changelog
|
||||||
|
if: ${{ steps.properties.outputs.changelog != '' }}
|
||||||
|
run: |
|
||||||
|
./gradlew patchChangelog --release-note "$(cat << 'EOM'
|
||||||
|
${{ steps.properties.outputs.changelog }}
|
||||||
|
EOM
|
||||||
|
)"
|
||||||
# Publish the plugin to the Marketplace
|
# Publish the plugin to the Marketplace
|
||||||
- name: Publish Plugin
|
- name: Publish Plugin
|
||||||
env:
|
env:
|
||||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||||
run: ./gradlew publishPlugin
|
run: ./gradlew publishPlugin
|
||||||
|
|
||||||
# Patch changelog, commit and push to the current repository
|
# Upload artifact as a release asset
|
||||||
changelog:
|
- name: Upload Release Asset
|
||||||
name: Update Changelog
|
env:
|
||||||
needs: release
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
runs-on: ubuntu-latest
|
run: gh release upload ${{ github.event.release.tag_name }} ./build/distributions/*
|
||||||
steps:
|
|
||||||
|
|
||||||
# Setup Java 1.8 environment for the next steps
|
# Create pull request
|
||||||
- name: Setup Java
|
- name: Create Pull Request
|
||||||
uses: actions/setup-java@v1
|
if: ${{ steps.properties.outputs.changelog != '' }}
|
||||||
with:
|
env:
|
||||||
java-version: 11
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# Check out current repository
|
|
||||||
- name: Fetch Sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
ref: ${{ github.event.release.tag_name }}
|
|
||||||
|
|
||||||
# Update Unreleased section with the current version
|
|
||||||
- name: Patch Changelog
|
|
||||||
run: ./gradlew patchChangelog
|
|
||||||
|
|
||||||
# Commit patched Changelog
|
|
||||||
- name: Commit files
|
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "action@github.com"
|
VERSION="${{ github.event.release.tag_name }}"
|
||||||
git config --local user.name "GitHub Action"
|
BRANCH="changelog-update-$VERSION"
|
||||||
git commit -m "Update changelog" -a
|
git config user.email "action@github.com"
|
||||||
|
git config user.name "GitHub Action"
|
||||||
# Push changes
|
git checkout -b $BRANCH
|
||||||
- name: Push changes
|
git commit -am "Changelog update - $VERSION"
|
||||||
uses: ad-m/github-push-action@master
|
git push --set-upstream origin $BRANCH
|
||||||
with:
|
gh pr create \
|
||||||
branch: main
|
--title "Changelog update - \`$VERSION\`" \
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
--body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
|
||||||
|
--base main \
|
||||||
|
--head $BRANCH
|
60
.github/workflows/run-ui-tests.yml
vendored
Normal file
60
.github/workflows/run-ui-tests.yml
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# GitHub Actions Workflow for launching UI tests on Linux, Windows, and Mac in the following steps:
|
||||||
|
# - prepare and launch IDE with your plugin and robot-server plugin, which is needed to interact with UI
|
||||||
|
# - wait for IDE to start
|
||||||
|
# - run UI tests with separate Gradle task
|
||||||
|
#
|
||||||
|
# Please check https://github.com/JetBrains/intellij-ui-test-robot for information about UI tests with IntelliJ Platform
|
||||||
|
#
|
||||||
|
# Workflow is triggered manually.
|
||||||
|
|
||||||
|
name: Run UI Tests
|
||||||
|
on:
|
||||||
|
workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
testUI:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: ubuntu-latest
|
||||||
|
runIde: |
|
||||||
|
export DISPLAY=:99.0
|
||||||
|
Xvfb -ac :99 -screen 0 1920x1080x16 &
|
||||||
|
gradle runIdeForUiTests &
|
||||||
|
- os: windows-latest
|
||||||
|
runIde: start gradlew.bat runIdeForUiTests
|
||||||
|
- os: macos-latest
|
||||||
|
runIde: ./gradlew runIdeForUiTests &
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
# Check out current repository
|
||||||
|
- name: Fetch Sources
|
||||||
|
uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
|
# Setup Java 11 environment for the next steps
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
distribution: zulu
|
||||||
|
java-version: 11
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
|
# Run IDEA prepared for UI testing
|
||||||
|
- name: Run IDE
|
||||||
|
run: ${{ matrix.runIde }}
|
||||||
|
|
||||||
|
# Wait for IDEA to be started
|
||||||
|
- name: Health Check
|
||||||
|
uses: jtalk/url-health-check-action@v2
|
||||||
|
with:
|
||||||
|
url: http://127.0.0.1:8082
|
||||||
|
max-attempts: 15
|
||||||
|
retry-delay: 30s
|
||||||
|
|
||||||
|
# Run tests
|
||||||
|
- name: Tests
|
||||||
|
run: ./gradlew test
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
.gradle
|
.gradle
|
||||||
.idea
|
.idea
|
||||||
build
|
.qodana
|
||||||
|
build
|
22
.run/Run IDE for UI Tests.run.xml
Normal file
22
.run/Run IDE for UI Tests.run.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Run IDE for UI Tests" type="GradleRunConfiguration" factoryName="Gradle">
|
||||||
|
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
||||||
|
<ExternalSystemSettings>
|
||||||
|
<option name="executionName" />
|
||||||
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="externalSystemIdString" value="GRADLE" />
|
||||||
|
<option name="scriptParameters" value="runIdeForUiTests" />
|
||||||
|
<option name="taskDescriptions">
|
||||||
|
<list />
|
||||||
|
</option>
|
||||||
|
<option name="taskNames">
|
||||||
|
<list />
|
||||||
|
</option>
|
||||||
|
<option name="vmOptions" />
|
||||||
|
</ExternalSystemSettings>
|
||||||
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
||||||
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
||||||
|
<DebugAllEnabled>false</DebugAllEnabled>
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
@ -1,24 +1,24 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Run Plugin" type="GradleRunConfiguration" factoryName="Gradle">
|
<configuration default="false" name="Run Plugin" type="GradleRunConfiguration" factoryName="Gradle">
|
||||||
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
||||||
<ExternalSystemSettings>
|
<ExternalSystemSettings>
|
||||||
<option name="executionName" />
|
<option name="executionName" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
<option name="externalSystemIdString" value="GRADLE" />
|
<option name="externalSystemIdString" value="GRADLE" />
|
||||||
<option name="scriptParameters" value="" />
|
<option name="scriptParameters" value="" />
|
||||||
<option name="taskDescriptions">
|
<option name="taskDescriptions">
|
||||||
<list />
|
<list />
|
||||||
</option>
|
</option>
|
||||||
<option name="taskNames">
|
<option name="taskNames">
|
||||||
<list>
|
<list>
|
||||||
<option value="runIde" />
|
<option value="runIde" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
<option name="vmOptions" value="" />
|
<option name="vmOptions" value="" />
|
||||||
</ExternalSystemSettings>
|
</ExternalSystemSettings>
|
||||||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
||||||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
||||||
<DebugAllEnabled>false</DebugAllEnabled>
|
<DebugAllEnabled>false</DebugAllEnabled>
|
||||||
<method v="2" />
|
<method v="2" />
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
@ -1,24 +1,24 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Run Tests" type="GradleRunConfiguration" factoryName="Gradle">
|
<configuration default="false" name="Run Tests" type="GradleRunConfiguration" factoryName="Gradle">
|
||||||
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
||||||
<ExternalSystemSettings>
|
<ExternalSystemSettings>
|
||||||
<option name="executionName" />
|
<option name="executionName" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
<option name="externalSystemIdString" value="GRADLE" />
|
<option name="externalSystemIdString" value="GRADLE" />
|
||||||
<option name="scriptParameters" value="" />
|
<option name="scriptParameters" value="" />
|
||||||
<option name="taskDescriptions">
|
<option name="taskDescriptions">
|
||||||
<list />
|
<list />
|
||||||
</option>
|
</option>
|
||||||
<option name="taskNames">
|
<option name="taskNames">
|
||||||
<list>
|
<list>
|
||||||
<option value="check" />
|
<option value="test" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
<option name="vmOptions" value="" />
|
<option name="vmOptions" value="" />
|
||||||
</ExternalSystemSettings>
|
</ExternalSystemSettings>
|
||||||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
||||||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
||||||
<DebugAllEnabled>false</DebugAllEnabled>
|
<DebugAllEnabled>false</DebugAllEnabled>
|
||||||
<method v="2" />
|
<method v="2" />
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
@ -1,26 +1,26 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="Run Verifications" type="GradleRunConfiguration" factoryName="Gradle">
|
<configuration default="false" name="Run Verifications" type="GradleRunConfiguration" factoryName="Gradle">
|
||||||
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
<log_file alias="idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
|
||||||
<ExternalSystemSettings>
|
<ExternalSystemSettings>
|
||||||
<option name="executionName" />
|
<option name="executionName" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
<option name="externalSystemIdString" value="GRADLE" />
|
<option name="externalSystemIdString" value="GRADLE" />
|
||||||
<option name="scriptParameters" value="" />
|
<option name="scriptParameters" value="" />
|
||||||
<option name="taskDescriptions">
|
<option name="taskDescriptions">
|
||||||
<list />
|
<list />
|
||||||
</option>
|
</option>
|
||||||
<option name="taskNames">
|
<option name="taskNames">
|
||||||
<list>
|
<list>
|
||||||
<option value="runPluginVerifier" />
|
<option value="runPluginVerifier" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
<option name="vmOptions" value="" />
|
<option name="vmOptions" value="" />
|
||||||
</ExternalSystemSettings>
|
</ExternalSystemSettings>
|
||||||
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
||||||
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
||||||
<DebugAllEnabled>false</DebugAllEnabled>
|
<DebugAllEnabled>false</DebugAllEnabled>
|
||||||
<method v="2">
|
<method v="2">
|
||||||
<option name="Gradle.BeforeRunTask" enabled="true" tasks="clean" externalProjectPath="$PROJECT_DIR$" vmOptions="" scriptParameters="" />
|
<option name="Gradle.BeforeRunTask" enabled="true" tasks="clean" externalProjectPath="$PROJECT_DIR$" vmOptions="" scriptParameters="" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
26
.run/Run Qodana.run.xml
Normal file
26
.run/Run Qodana.run.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Run Qodana" type="GradleRunConfiguration" factoryName="Gradle">
|
||||||
|
<ExternalSystemSettings>
|
||||||
|
<option name="env">
|
||||||
|
<map>
|
||||||
|
<entry key="QODANA_SHOW_REPORT" value="true" />
|
||||||
|
</map>
|
||||||
|
</option>
|
||||||
|
<option name="executionName" />
|
||||||
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="externalSystemIdString" value="GRADLE" />
|
||||||
|
<option name="scriptParameters" value="cleanInspections runInspections" />
|
||||||
|
<option name="taskDescriptions">
|
||||||
|
<list />
|
||||||
|
</option>
|
||||||
|
<option name="taskNames">
|
||||||
|
<list />
|
||||||
|
</option>
|
||||||
|
<option name="vmOptions" />
|
||||||
|
</ExternalSystemSettings>
|
||||||
|
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
|
||||||
|
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
|
||||||
|
<DebugAllEnabled>false</DebugAllEnabled>
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
@ -9,10 +9,13 @@
|
|||||||
- Sorting of translation keys can now be disabled via configuration
|
- Sorting of translation keys can now be disabled via configuration
|
||||||
- Key section nesting can be disabled via configuration
|
- Key section nesting can be disabled via configuration
|
||||||
- Numbers will be stored as number type whenever possible
|
- Numbers will be stored as number type whenever possible
|
||||||
|
- Code signing of plugin source
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Better focus keys in tree-view after edit
|
- Better focus keys in tree-view after edit
|
||||||
- Optimized internal data structure (io, cache, events)
|
- Optimized internal data structure (io, cache, events)
|
||||||
|
- Adjusted compatibility matrix to 2020.3 - 2021.3
|
||||||
|
- Updated dependencies
|
||||||
|
|
||||||
## [1.5.1]
|
## [1.5.1]
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import io.gitlab.arturbosch.detekt.Detekt
|
|
||||||
import org.jetbrains.changelog.markdownToHTML
|
import org.jetbrains.changelog.markdownToHTML
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
@ -8,15 +7,13 @@ plugins {
|
|||||||
// Java support
|
// Java support
|
||||||
id("java")
|
id("java")
|
||||||
// Kotlin support
|
// Kotlin support
|
||||||
id("org.jetbrains.kotlin.jvm") version "1.5.10"
|
id("org.jetbrains.kotlin.jvm") version "1.5.31"
|
||||||
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
|
// Gradle IntelliJ Plugin
|
||||||
id("org.jetbrains.intellij") version "1.0"
|
id("org.jetbrains.intellij") version "1.2.1"
|
||||||
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
|
// Gradle Changelog Plugin
|
||||||
id("org.jetbrains.changelog") version "1.1.2"
|
id("org.jetbrains.changelog") version "1.3.1"
|
||||||
// detekt linter - read more: https://detekt.github.io/detekt/gradle.html
|
// Gradle Qodana Plugin
|
||||||
id("io.gitlab.arturbosch.detekt") version "1.17.1"
|
id("org.jetbrains.qodana") version "0.1.13"
|
||||||
// ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle
|
|
||||||
id("org.jlleitschuh.gradle.ktlint") version "10.0.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
group = properties("pluginGroup")
|
group = properties("pluginGroup")
|
||||||
@ -26,55 +23,45 @@ version = properties("pluginVersion")
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.17.1")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Configure gradle-intellij-plugin plugin.
|
// Configure Gradle IntelliJ Plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
|
||||||
// Read more: https://github.com/JetBrains/gradle-intellij-plugin
|
|
||||||
intellij {
|
intellij {
|
||||||
pluginName.set(properties("pluginName"))
|
pluginName.set(properties("pluginName"))
|
||||||
version.set(properties("platformVersion"))
|
version.set(properties("platformVersion"))
|
||||||
type.set(properties("platformType"))
|
type.set(properties("platformType"))
|
||||||
downloadSources.set(properties("platformDownloadSources").toBoolean())
|
|
||||||
updateSinceUntilBuild.set(true)
|
|
||||||
|
|
||||||
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file.
|
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file.
|
||||||
plugins.set(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
|
plugins.set(properties("platformPlugins").split(',').map(String::trim).filter(String::isNotEmpty))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configure gradle-changelog-plugin plugin.
|
// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
|
||||||
// Read more: https://github.com/JetBrains/gradle-changelog-plugin
|
|
||||||
changelog {
|
changelog {
|
||||||
version = properties("pluginVersion")
|
version.set(properties("pluginVersion"))
|
||||||
groups = emptyList()
|
groups.set(emptyList())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configure detekt plugin.
|
// Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin
|
||||||
// Read more: https://detekt.github.io/detekt/kotlindsl.html
|
qodana {
|
||||||
detekt {
|
cachePath.set(projectDir.resolve(".qodana").canonicalPath)
|
||||||
config = files("./detekt-config.yml")
|
reportPath.set(projectDir.resolve("build/reports/inspections").canonicalPath)
|
||||||
buildUponDefaultConfig = true
|
saveReport.set(true)
|
||||||
|
showReport.set(System.getenv("QODANA_SHOW_REPORT")?.toBoolean() ?: false)
|
||||||
reports {
|
|
||||||
html.enabled = false
|
|
||||||
xml.enabled = false
|
|
||||||
txt.enabled = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
// Set the compatibility versions to 1.8
|
// Set the JVM compatibility versions
|
||||||
withType<JavaCompile> {
|
properties("javaVersion").let {
|
||||||
sourceCompatibility = "1.8"
|
withType<JavaCompile> {
|
||||||
targetCompatibility = "1.8"
|
sourceCompatibility = it
|
||||||
}
|
targetCompatibility = it
|
||||||
withType<KotlinCompile> {
|
}
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
withType<KotlinCompile> {
|
||||||
|
kotlinOptions.jvmTarget = it
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
withType<Detekt> {
|
wrapper {
|
||||||
jvmTarget = "1.8"
|
gradleVersion = properties("gradleVersion")
|
||||||
}
|
}
|
||||||
|
|
||||||
patchPluginXml {
|
patchPluginXml {
|
||||||
@ -84,7 +71,7 @@ tasks {
|
|||||||
|
|
||||||
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
|
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
|
||||||
pluginDescription.set(
|
pluginDescription.set(
|
||||||
File(projectDir, "README.md").readText().lines().run {
|
projectDir.resolve("README.md").readText().lines().run {
|
||||||
val start = "<!-- Plugin description -->"
|
val start = "<!-- Plugin description -->"
|
||||||
val end = "<!-- Plugin description end -->"
|
val end = "<!-- Plugin description end -->"
|
||||||
|
|
||||||
@ -96,11 +83,26 @@ tasks {
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Get the latest available change notes from the changelog file
|
// Get the latest available change notes from the changelog file
|
||||||
changeNotes.set(provider { changelog.getLatest().toHTML() })
|
changeNotes.set(provider {
|
||||||
|
changelog.run {
|
||||||
|
getOrNull(properties("pluginVersion")) ?: getLatest()
|
||||||
|
}.toHTML()
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
runPluginVerifier {
|
// Configure UI tests plugin
|
||||||
ideVersions.set(properties("pluginVerifierIdeVersions").split(',').map(String::trim).filter(String::isNotEmpty))
|
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
|
||||||
|
runIdeForUiTests {
|
||||||
|
systemProperty("robot-server.port", "8082")
|
||||||
|
systemProperty("ide.mac.message.dialogs.as.sheets", "false")
|
||||||
|
systemProperty("jb.privacy.policy.text", "<!--999.999-->")
|
||||||
|
systemProperty("jb.consents.confirmation.enabled", "false")
|
||||||
|
}
|
||||||
|
|
||||||
|
signPlugin {
|
||||||
|
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
|
||||||
|
privateKey.set(System.getenv("PRIVATE_KEY"))
|
||||||
|
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
|
||||||
}
|
}
|
||||||
|
|
||||||
publishPlugin {
|
publishPlugin {
|
||||||
@ -111,4 +113,4 @@ tasks {
|
|||||||
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
|
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
|
||||||
channels.set(listOf(properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first()))
|
channels.set(listOf(properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first()))
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,24 +3,29 @@
|
|||||||
|
|
||||||
pluginGroup = de.marhali.easyi18n
|
pluginGroup = de.marhali.easyi18n
|
||||||
pluginName = easy-i18n
|
pluginName = easy-i18n
|
||||||
|
# SemVer format -> https://semver.org
|
||||||
pluginVersion = 1.6.0
|
pluginVersion = 1.6.0
|
||||||
|
|
||||||
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
|
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
|
||||||
# for insight into build numbers and IntelliJ Platform versions.
|
# for insight into build numbers and IntelliJ Platform versions.
|
||||||
pluginSinceBuild = 202
|
pluginSinceBuild = 203
|
||||||
pluginUntilBuild = 212.*
|
pluginUntilBuild = 213.*
|
||||||
|
|
||||||
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
|
|
||||||
# See https://jb.gg/intellij-platform-builds-list for available build versions
|
|
||||||
pluginVerifierIdeVersions = 2020.2.4, 2020.3.4, 2021.2
|
|
||||||
|
|
||||||
|
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
|
||||||
platformType = IC
|
platformType = IC
|
||||||
platformVersion = 2021.2
|
platformVersion = 2020.3.4
|
||||||
platformDownloadSources = true
|
|
||||||
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
|
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
|
||||||
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
|
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
|
||||||
platformPlugins = org.jetbrains.kotlin
|
platformPlugins = org.jetbrains.kotlin
|
||||||
|
|
||||||
|
# Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3
|
||||||
|
javaVersion = 11
|
||||||
|
|
||||||
|
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
||||||
|
gradleVersion = 7.3
|
||||||
|
|
||||||
# Opt-out flag for bundling Kotlin standard library.
|
# Opt-out flag for bundling Kotlin standard library.
|
||||||
# See https://kotlinlang.org/docs/reference/using-gradle.html#dependency-on-the-standard-library for details.
|
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.
|
||||||
|
# suppress inspection "UnusedProperty"
|
||||||
kotlin.stdlib.default.dependency = false
|
kotlin.stdlib.default.dependency = false
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
2
gradlew
vendored
2
gradlew
vendored
@ -72,7 +72,7 @@ case "`uname`" in
|
|||||||
Darwin* )
|
Darwin* )
|
||||||
darwin=true
|
darwin=true
|
||||||
;;
|
;;
|
||||||
MINGW* )
|
MSYS* | MINGW* )
|
||||||
msys=true
|
msys=true
|
||||||
;;
|
;;
|
||||||
NONSTOP* )
|
NONSTOP* )
|
||||||
|
6
qodana.yml
Normal file
6
qodana.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Qodana configuration:
|
||||||
|
# https://www.jetbrains.com/help/qodana/qodana-yaml.html
|
||||||
|
|
||||||
|
version: 1.0
|
||||||
|
profile:
|
||||||
|
name: qodana.recommended
|
@ -1,3 +1,4 @@
|
|||||||
|
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
|
||||||
<idea-plugin url="https://github.com/marhali/easy-i18n">
|
<idea-plugin url="https://github.com/marhali/easy-i18n">
|
||||||
<id>de.marhali.easyi18n</id>
|
<id>de.marhali.easyi18n</id>
|
||||||
<name>Easy I18n</name>
|
<name>Easy I18n</name>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user