diff --git a/third_party/build.gradle.kts b/third_party/build.gradle.kts index c8b3443e7..5a83842f6 100644 --- a/third_party/build.gradle.kts +++ b/third_party/build.gradle.kts @@ -31,10 +31,14 @@ repositories { intellijPlatform { pluginConfiguration { - version = "1" + name = providers.gradleProperty("pluginName") + id = providers.gradleProperty("pluginId") + version = providers.gradleProperty("pluginVersion") + // TODO(https://github.com/flutter/dart-intellij-third-party/issues/23) Add a changelog: + // val changelog = ... ideaVersion { - sinceBuild = "251" - untilBuild = "251.*" + sinceBuild = providers.gradleProperty("pluginSinceBuild") + untilBuild = providers.gradleProperty("pluginUntilBuild") } } pluginVerification { @@ -113,7 +117,7 @@ tasks { test { // TODO figure out how to not need the sdk path hard coded: // Replace the [Dart SDK Path] to run the Dart Analysis Server tests - jvmArgs("-Ddart.sdk=[Dart SDK path]]") + jvmArgs("-Ddart.sdk=[Dart SDK path]") } } diff --git a/third_party/gradle.properties b/third_party/gradle.properties index 0cb6fa54d..85f35a8e8 100644 --- a/third_party/gradle.properties +++ b/third_party/gradle.properties @@ -1,9 +1,28 @@ -# This file was generated by the Gradle 'init' task. +# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html + +# This file was originally generated by the Gradle 'init' task. # https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties +pluginName = Dart +pluginId = Dart + +# SemVer format -> https://semver.org +pluginVersion = 251.30000.0 + +# TODO(https://github.com/flutter/dart-intellij-third-party/issues/23) Add a changelog +# Not currently used in the build.gradle.kts file: +# pluginRepositoryUrl = https://github.com/flutter/dart-intellij-third-party + +# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html +pluginSinceBuild = 251 +pluginUntilBuild = 251.* + # Gradle Releases -> https://github.com/gradle/gradle/releases gradleVersion = 8.13 +# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib +kotlin.stdlib.default.dependency = false + # Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html org.gradle.configuration-cache = true @@ -11,4 +30,4 @@ org.gradle.configuration-cache = true org.gradle.caching = true # Allocate additional JVM space for assembing this project -org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8 \ No newline at end of file +org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8 diff --git a/third_party/src/main/resources/META-INF/plugin.xml b/third_party/src/main/resources/META-INF/plugin.xml index 1040d1d27..c3841aeb7 100644 --- a/third_party/src/main/resources/META-INF/plugin.xml +++ b/third_party/src/main/resources/META-INF/plugin.xml @@ -15,11 +15,9 @@

Getting started

-

For information on getting started, head over to the documentation for your IDE. - For IntelliJ IDEA, you can check out this section in the - documentation. +

For information on getting started, head over to the documentation. ]]> - JetBrains + Google Languages com.intellij.modules.xml org.jetbrains.plugins.yaml