Skip to content
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

Support for gradle unit test #214

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>net.ashald.envfile</id>
<name>EnvFile</name>
<version>3.4.1</version>
<version>3.4.3</version>
<vendor email="[email protected]">Borys Pierov</vendor>

<description><![CDATA[
Expand Down