Skip to content

impl: support for unlimited 'Until Build' setting #549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
chore: simplify build script
Use gateway DSL to provide the platform type and version.
The plugin verification as well as the platform type depends on the versions in the format "2025.x"
  • Loading branch information
fioan89 committed May 6, 2025
commit a2fbb41b92d9dfdca7f29e8cf1c168adc56bd2da
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType

fun properties(key: String) = project.findProperty(key).toString()

Expand Down Expand Up @@ -56,7 +57,7 @@ dependencies {

// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
intellijPlatform {
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
gateway(providers.gradleProperty("platformVersion"))

// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })
Expand Down Expand Up @@ -111,7 +112,9 @@ intellijPlatform {

pluginVerification {
ides {
recommended()
providers.gradleProperty("verifyVersions").get().split(',').map(String::trim).forEach { version ->
ide(IntelliJPlatformType.Gateway, version)
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ pluginSinceBuild=233.6745
# (for example if 233.14808-EAP-CANDIDATE-SNAPSHOT is missing then find a 233.*
# that exists, ideally the most recent one, for example
# 233.15325-EAP-CANDIDATE-SNAPSHOT).
platformType=GW
platformVersion=2023.3
# Gateway does not have open sources.
platformDownloadSources=true
verifyVersions=2023.3,2024.1,2024.2,2024.3,2025.1
# available releases listed at: https://data.services.jetbrains.com/products?code=GW
verifyVersions=2023.3.4,2024.1.2,2024.2.3,2024.3.3,2025.1
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins=
Expand Down
Loading