Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions third_party/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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]")
}
}

Expand Down
23 changes: 21 additions & 2 deletions third_party/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
# 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

# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
org.gradle.caching = true

# Allocate additional JVM space for assembing this project
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m -Dfile.encoding=UTF-8
6 changes: 2 additions & 4 deletions third_party/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
</ul>

<h2>Getting started</h2>
<p>For information on getting started, head over to the <a href="https://www.jetbrains.com/help/">documentation</a> for your IDE.
For IntelliJ IDEA, you can check out this section in the
<a href="https://www.jetbrains.com/help/idea/dart.html">documentation</a>.
<p>For information on getting started, head over to the <a href="https://dart.dev/tools/jetbrains-plugin">documentation</a>.
]]></description>
<vendor>JetBrains</vendor>
<vendor url="https://google.com">Google</vendor>
<category>Languages</category>
<depends>com.intellij.modules.xml</depends>
<depends optional="true" config-file="dart-yaml.xml">org.jetbrains.plugins.yaml</depends>
Expand Down