mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Merge pull request #456 from JetBrains/next
This commit is contained in:
commit
47b2d17650
8
.github/template-cleanup/gradle.properties
vendored
8
.github/template-cleanup/gradle.properties
vendored
@ -7,19 +7,19 @@ pluginRepositoryUrl = https://github.com/%REPOSITORY%
|
|||||||
pluginVersion = 0.0.1
|
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 = 232
|
||||||
pluginUntilBuild = 241.*
|
pluginUntilBuild = 242.*
|
||||||
|
|
||||||
# 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
|
||||||
platformVersion = 2022.3.3
|
platformVersion = 2023.2.6
|
||||||
|
|
||||||
# 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 =
|
platformPlugins =
|
||||||
|
|
||||||
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
||||||
gradleVersion = 8.6
|
gradleVersion = 8.7
|
||||||
|
|
||||||
# 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
|
||||||
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
|
|
||||||
# Validate wrapper
|
# Validate wrapper
|
||||||
- name: Gradle Wrapper Validation
|
- name: Gradle Wrapper Validation
|
||||||
uses: gradle/wrapper-validation-action@v2
|
uses: gradle/actions/wrapper-validation@v3
|
||||||
|
|
||||||
# Set up Java environment for the next steps
|
# Set up Java environment for the next steps
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
@ -170,7 +170,7 @@ jobs:
|
|||||||
|
|
||||||
# Run Qodana inspections
|
# Run Qodana inspections
|
||||||
- name: Qodana - Code Inspection
|
- name: Qodana - Code Inspection
|
||||||
uses: JetBrains/qodana-action@v2023.3.1
|
uses: JetBrains/qodana-action@v2024.1.5
|
||||||
with:
|
with:
|
||||||
cache-default-branch-only: true
|
cache-default-branch-only: true
|
||||||
|
|
||||||
|
2
.github/workflows/run-ui-tests.yml
vendored
2
.github/workflows/run-ui-tests.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
|||||||
|
|
||||||
# Wait for IDEA to be started
|
# Wait for IDEA to be started
|
||||||
- name: Health Check
|
- name: Health Check
|
||||||
uses: jtalk/url-health-check-action@v3
|
uses: jtalk/url-health-check-action@v4
|
||||||
with:
|
with:
|
||||||
url: http://127.0.0.1:8082
|
url: http://127.0.0.1:8082
|
||||||
max-attempts: 15
|
max-attempts: 15
|
||||||
|
15
CHANGELOG.md
15
CHANGELOG.md
@ -4,6 +4,21 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Update `platformVersion` to `2023.2.6`
|
||||||
|
- Change since/until build to `232-242.*` (2023.2-2024.2.*)
|
||||||
|
- Upgrade Gradle Wrapper to `8.7`
|
||||||
|
- Update Kover configuration
|
||||||
|
- Replace `org.jetbrains:annotations` library with an `com.example:exampleLibrary` placeholder
|
||||||
|
- Dependencies - upgrade `org.jetbrains.intellij` to `1.17.3`
|
||||||
|
- Dependencies - upgrade `org.jetbrains.kotlin.jvm` to `2.0.0`
|
||||||
|
- Dependencies - upgrade `org.jetbrains.kotlinx.kover` to `0.8.0`
|
||||||
|
- Dependencies - upgrade `org.jetbrains.qodana` to `2024.1.5`
|
||||||
|
- Dependencies (GitHub Actions) - replace `gradle/wrapper-validation-action@v2` with `gradle/actions/wrapper-validation@v3`
|
||||||
|
- Dependencies (GitHub Actions) - upgrade `JetBrains/qodana-action` to `v2024.1.5`
|
||||||
|
- Dependencies (GitHub Actions) - upgrade `jtalk/url-health-check-action` to `v4`
|
||||||
|
|
||||||
## [1.13.0] - 2024-03-11
|
## [1.13.0] - 2024-03-11
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -64,7 +64,9 @@ All you have to do is click the <kbd>Use this template</kbd> button (you must be
|
|||||||
![Use this template][file:use-this-template.png]
|
![Use this template][file:use-this-template.png]
|
||||||
|
|
||||||
After using the template to create your blank project, the [Template Cleanup][file:template_cleanup.yml] workflow will be triggered to override or remove any template-specific configurations, such as the plugin name, current changelog, etc.
|
After using the template to create your blank project, the [Template Cleanup][file:template_cleanup.yml] workflow will be triggered to override or remove any template-specific configurations, such as the plugin name, current changelog, etc.
|
||||||
Once this is complete, the project is ready to be cloned to your local environment and opened with [IntelliJ IDEA][jb:download-ij].
|
Once this is complete, open the newly created project's _Settings | Actions | General_ page and enable option _Allow GitHub Actions to create and approve pull requests_.
|
||||||
|
|
||||||
|
Now the project is ready to be cloned to your local environment and opened with [IntelliJ IDEA][jb:download-ij].
|
||||||
|
|
||||||
The most convenient way for getting your new project from GitHub is the <kbd>Get from VCS</kbd> action available on the Welcome Screen, where you can filter your GitHub repository by its name.
|
The most convenient way for getting your new project from GitHub is the <kbd>Get from VCS</kbd> action available on the Welcome Screen, where you can filter your GitHub repository by its name.
|
||||||
|
|
||||||
@ -129,7 +131,6 @@ In addition, extra behaviors are configured through the [`gradle.properties`][fi
|
|||||||
| `kotlin.stdlib.default.dependency` | `false` | Opt-out flag for bundling [Kotlin standard library][docs:kotlin-stdlib] |
|
| `kotlin.stdlib.default.dependency` | `false` | Opt-out flag for bundling [Kotlin standard library][docs:kotlin-stdlib] |
|
||||||
| `org.gradle.configuration-cache` | `true` | Enable [Gradle Configuration Cache][gradle:configuration-cache] |
|
| `org.gradle.configuration-cache` | `true` | Enable [Gradle Configuration Cache][gradle:configuration-cache] |
|
||||||
| `org.gradle.caching` | `true` | Enable [Gradle Build Cache][gradle:build-cache] |
|
| `org.gradle.caching` | `true` | Enable [Gradle Build Cache][gradle:build-cache] |
|
||||||
| `systemProp.org.gradle.unsafe.kotlin.assignment` | `true` | Enable [Gradle Kotlin DSL Lazy Property Assignment][gradle:kotlin-dsl-assignment] |
|
|
||||||
|
|
||||||
### Environment variables
|
### Environment variables
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ repositories {
|
|||||||
|
|
||||||
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
|
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
|
||||||
dependencies {
|
dependencies {
|
||||||
// implementation(libs.annotations)
|
// implementation(libs.exampleLibrary)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the JVM language level used to build the project.
|
// Set the JVM language level used to build the project.
|
||||||
@ -48,13 +48,15 @@ changelog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
|
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
|
||||||
koverReport {
|
kover {
|
||||||
defaults {
|
reports {
|
||||||
|
total {
|
||||||
xml {
|
xml {
|
||||||
onCheck = true
|
onCheck = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
wrapper {
|
wrapper {
|
||||||
|
@ -4,22 +4,22 @@ 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.13.0
|
pluginVersion = 1.14.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 = 232
|
||||||
pluginUntilBuild = 241.*
|
pluginUntilBuild = 242.*
|
||||||
|
|
||||||
# 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
|
||||||
platformVersion = 2022.3.3
|
platformVersion = 2023.2.6
|
||||||
|
|
||||||
# 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 =
|
platformPlugins =
|
||||||
|
|
||||||
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
||||||
gradleVersion = 8.6
|
gradleVersion = 8.7
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
[versions]
|
[versions]
|
||||||
# libraries
|
# libraries
|
||||||
annotations = "24.1.0"
|
exampleLibrary = "24.1.0"
|
||||||
|
|
||||||
# plugins
|
# plugins
|
||||||
kotlin = "1.9.23"
|
kotlin = "2.0.0"
|
||||||
changelog = "2.2.0"
|
changelog = "2.2.0"
|
||||||
gradleIntelliJPlugin = "1.17.2"
|
gradleIntelliJPlugin = "1.17.3"
|
||||||
qodana = "2023.3.1"
|
qodana = "2024.1.5"
|
||||||
kover = "0.7.6"
|
kover = "0.8.0"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" }
|
exampleLibrary = { group = "com.example", name = "exampleLibrary", version.ref = "exampleLibrary" }
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
||||||
|
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,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.6-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user