mirror of
				https://github.com/JetBrains/intellij-platform-plugin-template.git
				synced 2025-06-13 13:04:09 +00:00 
			
		
		
		
	
						commit
						427dc4ea49
					
				
							
								
								
									
										7
									
								
								.github/template-cleanup/gradle.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/template-cleanup/gradle.properties
									
									
									
									
										vendored
									
									
								
							@ -8,7 +8,7 @@ pluginVersion = 0.0.1
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
 | 
					# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
 | 
				
			||||||
pluginSinceBuild = 223
 | 
					pluginSinceBuild = 223
 | 
				
			||||||
pluginUntilBuild = 233.*
 | 
					pluginUntilBuild = 241.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
 | 
					# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
 | 
				
			||||||
platformType = IC
 | 
					platformType = IC
 | 
				
			||||||
@ -19,7 +19,7 @@ platformVersion = 2022.3.3
 | 
				
			|||||||
platformPlugins =
 | 
					platformPlugins =
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Gradle Releases -> https://github.com/gradle/gradle/releases
 | 
					# Gradle Releases -> https://github.com/gradle/gradle/releases
 | 
				
			||||||
gradleVersion = 8.5
 | 
					gradleVersion = 8.6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
 | 
					# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
 | 
				
			||||||
kotlin.stdlib.default.dependency = false
 | 
					kotlin.stdlib.default.dependency = false
 | 
				
			||||||
@ -29,6 +29,3 @@ org.gradle.configuration-cache = true
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
 | 
					# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
 | 
				
			||||||
org.gradle.caching = true
 | 
					org.gradle.caching = true
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment
 | 
					 | 
				
			||||||
systemProp.org.gradle.unsafe.kotlin.assignment = true
 | 
					 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -20,6 +20,10 @@ on:
 | 
				
			|||||||
  # Trigger the workflow on any pull request
 | 
					  # Trigger the workflow on any pull request
 | 
				
			||||||
  pull_request:
 | 
					  pull_request:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					concurrency:
 | 
				
			||||||
 | 
					  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
 | 
				
			||||||
 | 
					  cancel-in-progress: true
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Prepare environment and build the plugin
 | 
					  # Prepare environment and build the plugin
 | 
				
			||||||
@ -49,7 +53,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # Setup Gradle
 | 
					      # Setup Gradle
 | 
				
			||||||
      - name: Setup Gradle
 | 
					      - name: Setup Gradle
 | 
				
			||||||
        uses: gradle/gradle-build-action@v2
 | 
					        uses: gradle/actions/setup-gradle@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          gradle-home-cache-cleanup: true
 | 
					          gradle-home-cache-cleanup: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -113,7 +117,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # Setup Gradle
 | 
					      # Setup Gradle
 | 
				
			||||||
      - name: Setup Gradle
 | 
					      - name: Setup Gradle
 | 
				
			||||||
        uses: gradle/gradle-build-action@v2
 | 
					        uses: gradle/actions/setup-gradle@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          gradle-home-cache-cleanup: true
 | 
					          gradle-home-cache-cleanup: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -166,7 +170,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # Run Qodana inspections
 | 
					      # Run Qodana inspections
 | 
				
			||||||
      - name: Qodana - Code Inspection
 | 
					      - name: Qodana - Code Inspection
 | 
				
			||||||
        uses: JetBrains/qodana-action@v2023.2.8
 | 
					        uses: JetBrains/qodana-action@v2023.3.1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          cache-default-branch-only: true
 | 
					          cache-default-branch-only: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -197,7 +201,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # Setup Gradle
 | 
					      # Setup Gradle
 | 
				
			||||||
      - name: Setup Gradle
 | 
					      - name: Setup Gradle
 | 
				
			||||||
        uses: gradle/gradle-build-action@v2
 | 
					        uses: gradle/actions/setup-gradle@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          gradle-home-cache-cleanup: true
 | 
					          gradle-home-cache-cleanup: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -256,7 +260,7 @@ jobs:
 | 
				
			|||||||
        env:
 | 
					        env:
 | 
				
			||||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          gh release create v${{ needs.build.outputs.version }} \
 | 
					          gh release create "v${{ needs.build.outputs.version }}" \
 | 
				
			||||||
            --draft \
 | 
					            --draft \
 | 
				
			||||||
            --title "v${{ needs.build.outputs.version }}" \
 | 
					            --title "v${{ needs.build.outputs.version }}" \
 | 
				
			||||||
            --notes "$(cat << 'EOM'
 | 
					            --notes "$(cat << 'EOM'
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -33,7 +33,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # Setup Gradle
 | 
					      # Setup Gradle
 | 
				
			||||||
      - name: Setup Gradle
 | 
					      - name: Setup Gradle
 | 
				
			||||||
        uses: gradle/gradle-build-action@v2
 | 
					        uses: gradle/actions/setup-gradle@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          gradle-home-cache-cleanup: true
 | 
					          gradle-home-cache-cleanup: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/run-ui-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/run-ui-tests.yml
									
									
									
									
										vendored
									
									
								
							@ -44,7 +44,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # Setup Gradle
 | 
					      # Setup Gradle
 | 
				
			||||||
      - name: Setup Gradle
 | 
					      - name: Setup Gradle
 | 
				
			||||||
        uses: gradle/gradle-build-action@v2
 | 
					        uses: gradle/actions/setup-gradle@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          gradle-home-cache-cleanup: true
 | 
					          gradle-home-cache-cleanup: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										21
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@ -4,6 +4,27 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## [Unreleased]
 | 
					## [Unreleased]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Added
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- GitHub Actions: Reduce the number of concurrent builds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Changed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Change since/until build to `223-241.*` (2022.3-2024.1.*)
 | 
				
			||||||
 | 
					- Upgrade Gradle Wrapper to `8.6`
 | 
				
			||||||
 | 
					- Dependencies - upgrade `org.jetbrains.intellij` to `1.17.2`
 | 
				
			||||||
 | 
					- Dependencies (GitHub Actions) - upgrade `gradle/gradle-build-action@v2` to `gradle/actions/setup-gradle@v3`
 | 
				
			||||||
 | 
					- Dependencies (GitHub Actions) - upgrade `JetBrains/qodana-action` to `v2023.3.1`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Fixed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Adjusted obtaining the value for `publishPlugin.channels` property in `build.gradle.kts`
 | 
				
			||||||
 | 
					- Fixed bash variable access in the Create Release Draft step.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Removed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Remove Gradle Kotlin DSL Lazy Property Assignment because it's default now
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [1.11.3] - 2023-12-01
 | 
					## [1.11.3] - 2023-12-01
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Changed
 | 
					### Changed
 | 
				
			||||||
 | 
				
			|||||||
@ -126,6 +126,6 @@ tasks {
 | 
				
			|||||||
        // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
 | 
					        // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
 | 
				
			||||||
        // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
 | 
					        // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
 | 
				
			||||||
        // 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 = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
 | 
					        channels = properties("pluginVersion").map { listOf(it.substringAfter('-').substringBefore('.').ifEmpty { "default" }) }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -4,11 +4,11 @@ pluginGroup = org.jetbrains.plugins.template
 | 
				
			|||||||
pluginName = IntelliJ Platform Plugin Template
 | 
					pluginName = IntelliJ Platform Plugin Template
 | 
				
			||||||
pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
 | 
					pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
 | 
				
			||||||
# SemVer format -> https://semver.org
 | 
					# SemVer format -> https://semver.org
 | 
				
			||||||
pluginVersion = 1.11.3
 | 
					pluginVersion = 1.12.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
 | 
					# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
 | 
				
			||||||
pluginSinceBuild = 223
 | 
					pluginSinceBuild = 223
 | 
				
			||||||
pluginUntilBuild = 233.*
 | 
					pluginUntilBuild = 241.*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
 | 
					# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
 | 
				
			||||||
platformType = IC
 | 
					platformType = IC
 | 
				
			||||||
@ -19,7 +19,7 @@ platformVersion = 2022.3.3
 | 
				
			|||||||
platformPlugins =
 | 
					platformPlugins =
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Gradle Releases -> https://github.com/gradle/gradle/releases
 | 
					# Gradle Releases -> https://github.com/gradle/gradle/releases
 | 
				
			||||||
gradleVersion = 8.5
 | 
					gradleVersion = 8.6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
 | 
					# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
 | 
				
			||||||
kotlin.stdlib.default.dependency = false
 | 
					kotlin.stdlib.default.dependency = false
 | 
				
			||||||
@ -29,6 +29,3 @@ org.gradle.configuration-cache = true
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
 | 
					# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
 | 
				
			||||||
org.gradle.caching = true
 | 
					org.gradle.caching = true
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment
 | 
					 | 
				
			||||||
systemProp.org.gradle.unsafe.kotlin.assignment = true
 | 
					 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@ annotations = "24.1.0"
 | 
				
			|||||||
# plugins
 | 
					# plugins
 | 
				
			||||||
kotlin = "1.9.21"
 | 
					kotlin = "1.9.21"
 | 
				
			||||||
changelog = "2.2.0"
 | 
					changelog = "2.2.0"
 | 
				
			||||||
gradleIntelliJPlugin = "1.16.1"
 | 
					gradleIntelliJPlugin = "1.17.2"
 | 
				
			||||||
qodana = "0.1.13"
 | 
					qodana = "0.1.13"
 | 
				
			||||||
kover = "0.7.5"
 | 
					kover = "0.7.5"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
distributionBase=GRADLE_USER_HOME
 | 
					distributionBase=GRADLE_USER_HOME
 | 
				
			||||||
distributionPath=wrapper/dists
 | 
					distributionPath=wrapper/dists
 | 
				
			||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
 | 
					distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
 | 
				
			||||||
networkTimeout=10000
 | 
					networkTimeout=10000
 | 
				
			||||||
validateDistributionUrl=true
 | 
					validateDistributionUrl=true
 | 
				
			||||||
zipStoreBase=GRADLE_USER_HOME
 | 
					zipStoreBase=GRADLE_USER_HOME
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										20
									
								
								gradlew.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								gradlew.bat
									
									
									
									
										vendored
									
									
								
							@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
 | 
				
			|||||||
%JAVA_EXE% -version >NUL 2>&1
 | 
					%JAVA_EXE% -version >NUL 2>&1
 | 
				
			||||||
if %ERRORLEVEL% equ 0 goto execute
 | 
					if %ERRORLEVEL% equ 0 goto execute
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo.
 | 
					echo. 1>&2
 | 
				
			||||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
 | 
					echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
 | 
				
			||||||
echo.
 | 
					echo. 1>&2
 | 
				
			||||||
echo Please set the JAVA_HOME variable in your environment to match the
 | 
					echo Please set the JAVA_HOME variable in your environment to match the 1>&2
 | 
				
			||||||
echo location of your Java installation.
 | 
					echo location of your Java installation. 1>&2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
goto fail
 | 
					goto fail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if exist "%JAVA_EXE%" goto execute
 | 
					if exist "%JAVA_EXE%" goto execute
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo.
 | 
					echo. 1>&2
 | 
				
			||||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
 | 
					echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
 | 
				
			||||||
echo.
 | 
					echo. 1>&2
 | 
				
			||||||
echo Please set the JAVA_HOME variable in your environment to match the
 | 
					echo Please set the JAVA_HOME variable in your environment to match the 1>&2
 | 
				
			||||||
echo location of your Java installation.
 | 
					echo location of your Java installation. 1>&2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
goto fail
 | 
					goto fail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user