generated from JetBrains/intellij-platform-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to intellij-platform-gradle-plugin v2.0.0 (#14)
* Migrate to intellij-platform-gradle-plugin 2.0.0 * use `org.jetbrains.intellij.platform.modules` plugin * Add CONTRIBUTING.md * Update plugin until build to 242.* * drop until build * update changelog.md
- Loading branch information
Showing
12 changed files
with
214 additions
and
157 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.gradle | ||
.idea | ||
.intellijPlatform | ||
.qodana | ||
build |
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,12 @@ | ||
# Contributing to the IntelliJ Mise Plugin | ||
|
||
## Running other IDEs for testing | ||
As this plugin targets multiple IDEs, when developing you'll want to test against a specific IDE. | ||
|
||
You can get a list of available tasks for running the plugin in different IDEs by running the following command: | ||
```shell | ||
./gradlew tasks --group='intellij platform' | grep -E '^run' | ||
``` | ||
|
||
> [!TIP] | ||
> If you want to test other version of IDEs, you can change the version field in the [build.gradle.kts](./build.gradle.kts) file. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
[versions] | ||
# libraries | ||
exampleLibrary = "24.1.0" | ||
junit = "4.13.2" | ||
|
||
# plugins | ||
kotlin = "2.0.0" | ||
changelog = "2.2.1" | ||
gradleIntelliJPlugin = "1.17.4" | ||
qodana = "2024.1.8" | ||
gradleIdeaExt = "1.1.8" | ||
qodana = "2024.1.5" | ||
kover = "0.8.3" | ||
|
||
[libraries] | ||
exampleLibrary = { group = "com.example", name = "exampleLibrary", version.ref = "exampleLibrary" } | ||
junit = { group = "junit", name = "junit", version.ref = "junit" } | ||
|
||
[plugins] | ||
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } | ||
gradleIntelliJPlugin = { id = "org.jetbrains.intellij", version.ref = "gradleIntelliJPlugin" } | ||
gradleIdeaExt = { id = "org.jetbrains.gradle.plugin.idea-ext", version.ref = "gradleIdeaExt" } | ||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } | ||
qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" } |
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,15 +1,20 @@ | ||
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType | ||
|
||
fun properties(key: String) = project.findProperty(key).toString() | ||
|
||
plugins { | ||
id("org.jetbrains.intellij") | ||
id("org.jetbrains.intellij.platform.module") | ||
alias(libs.plugins.kotlin) // Kotlin support | ||
} | ||
|
||
dependencies { | ||
testImplementation("org.junit.jupiter:junit-jupiter:5.10.3") | ||
} | ||
testImplementation("org.junit.jupiter:junit-jupiter") | ||
|
||
intellijPlatform { | ||
create(IntelliJPlatformType.IntellijIdeaCommunity, properties("platformVersion"), false) | ||
|
||
bundledPlugin("com.intellij.java") | ||
|
||
// Configure Gradle IntelliJ Plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin | ||
intellij { | ||
version.set(properties("platformVersion")) | ||
instrumentationTools() | ||
} | ||
} |
Oops, something went wrong.