Add `instrumentationTools()` to the dependencies

Jakub Chrzanowski 3 months ago
parent c6dcc2007a
commit 4db01633d9
No known key found for this signature in database
GPG Key ID: C39095BFD769862E

@ -16,6 +16,13 @@ plugins {
group = properties("pluginGroup").get() group = properties("pluginGroup").get()
version = properties("pluginVersion").get() version = properties("pluginVersion").get()
// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
kotlin {
jvmToolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
// Configure project's dependencies // Configure project's dependencies
repositories { repositories {
mavenCentral() mavenCentral()
@ -39,20 +46,14 @@ dependencies {
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace. // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
plugins(properties("platformPlugins").map { it.split(',') }) plugins(properties("platformPlugins").map { it.split(',') })
}
}
// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+. instrumentationTools()
kotlin {
jvmToolchain {
languageVersion = JavaLanguageVersion.of(17)
} }
} }
// Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html // Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
intellijPlatform { intellijPlatform {
pluginConfiguration { pluginConfiguration {
name = properties("pluginName")
version = properties("pluginVersion") version = properties("pluginVersion")
// 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

Loading…
Cancel
Save