diff --git a/CHANGELOG.md b/CHANGELOG.md index 58a187b..c2231e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning]. +## 3.4.3 - 2023-03-12 +Support for gradle unit test + ## 3.4.1 - 2022-10-04 ### Fixed diff --git a/modules/core/build.gradle b/modules/core/build.gradle index cdacff4..3d1334e 100644 --- a/modules/core/build.gradle +++ b/modules/core/build.gradle @@ -4,7 +4,7 @@ plugins { dependencies { implementation 'org.jetbrains:annotations:23.0.0' - implementation 'org.yaml:snakeyaml:1.32' + implementation 'org.yaml:snakeyaml:1.33' implementation 'com.google.guava:guava:31.1-jre' diff --git a/modules/products/idea/src/main/java/net/ashald/envfile/products/idea/GradleEnvFileProvider.java b/modules/products/idea/src/main/java/net/ashald/envfile/products/idea/GradleEnvFileProvider.java index 63d7021..5e3503f 100644 --- a/modules/products/idea/src/main/java/net/ashald/envfile/products/idea/GradleEnvFileProvider.java +++ b/modules/products/idea/src/main/java/net/ashald/envfile/products/idea/GradleEnvFileProvider.java @@ -19,7 +19,8 @@ public class GradleEnvFileProvider implements GradleExecutionEnvironmentProvider @Override public boolean isApplicable(final ExecuteRunConfigurationTask executeRunConfigurationTask) { - return executeRunConfigurationTask.getRunProfile() instanceof ApplicationConfiguration; + return executeRunConfigurationTask.getRunProfile() instanceof ApplicationConfiguration || + executeRunConfigurationTask.getRunProfile() instanceof GradleRunConfiguration; } @Override diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 224ed46..ae8f259 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,7 +1,7 @@ net.ashald.envfile EnvFile - 3.4.1 + 3.4.3 Borys Pierov