From fc1080581f8e8141c5e875542b32588e5688ed45 Mon Sep 17 00:00:00 2001 From: cschar Date: Sun, 16 Feb 2025 20:46:50 -0500 Subject: [PATCH] Feature/2025.1 update deprecated v2 (#38) * remove deprecated warnings * updated plugin version... also hardcode gradle intellijplatform to 2024.3.3 * ADD junit4 to test dependencies * use .properties file for version * upgrade to gradlev4 action * fix gradle intellijVerification --- .github/workflows/build.yml | 4 +--- build.gradle.kts | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fce2cb0..193376c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,9 +53,7 @@ jobs: # Setup Gradle - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - with: - gradle-home-cache-cleanup: true + uses: gradle/actions/setup-gradle@v4 # Set environment variables - name: Export Properties diff --git a/build.gradle.kts b/build.gradle.kts index ace06d2..b0f220d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -61,7 +61,7 @@ dependencies { plugins(properties("platformPlugins").map { it.split(',') }) - pluginVerifier() + testFramework(TestFrameworkType.Platform) @@ -156,6 +156,23 @@ intellijPlatform { channels = properties("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) } } + pluginVerification { + // ... + + ides { + + ide(properties("platformType"),properties("platformVersion")) +// local(file("/path/to/ide/")) + recommended() +// select { +// types = listOf(IntelliJPlatformType.PhpStorm) +// channels = listOf(ProductRelease.Channel.RELEASE) +// sinceBuild = "232" +// untilBuild = "241.*" +// } + } + } + }