Skip to content

Commit

Permalink
Adds env arg for validate task (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: Haroon Sheikh <[email protected]>
  • Loading branch information
haroon-sheikh authored Apr 2, 2024
1 parent 1b7d7ea commit 5bf984c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
gauge-plugins: java, html-report, xml-report
- uses: gradle/gradle-build-action@v3
with:
gradle-version: '8.2'
gradle-version: '8.7'
- name: Build with Gradle on ubuntu
if: matrix.os != 'windows-latest'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
gauge-plugins: java, html-report, xml-report
- uses: gradle/gradle-build-action@v3
with:
gradle-version: '8.2'
gradle-version: '8.7'
- name: Upload to gradle portal
run: |
./gradlew plugin:build
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you have an existing project, and you would like to add the plugin manually y

```groovy
plugins {
id 'org.gauge' version '2.0.0'
id 'org.gauge' version '2.1.0'
}
repositories {
Expand Down Expand Up @@ -64,7 +64,7 @@ buildscript {
}
}
dependencies {
classpath "org.gauge.gradle:gauge-gradle-plugin:2.0.0"
classpath "org.gauge.gradle:gauge-gradle-plugin:2.1.0"
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=2.0.0
version=2.1.0
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public void execute() {
spec.executable(command.getExecutable());
spec.args("validate");
spec.args(command.getProjectDir());
spec.args(command.getEnvironment());
spec.args(command.getSpecsDir());
spec.environment(GaugeConstants.GAUGE_CUSTOM_CLASSPATH, getClasspath().getAsPath());
if (null != extension) {
Expand Down

0 comments on commit 5bf984c

Please sign in to comment.