Recent Releases of https://github.com/bitrise-steplib/steps-gradle-runner

https://github.com/bitrise-steplib/steps-gradle-runner - 4.0.0

Breaking changes:

Path-related inputs have been reworked to make them more intuitive and avoid using deprecated Gradle features.

In a nutshell: - build_root_directory: new input - gradle_file input: removed, use build_root_directory instead - gradlew_path input: defaults to ./gradlew

Background: previously, the step did not change the working directory when calling gradle or gradlew. If the Gradle project and the Gradle Wrapper file was in a different (sub)directory, the gradlew_file step input could be defined. This used Gradle's --build-file flag, which has been deprecated in Gradle 8 and completely removed in Gradle 9. Starting with this release, the step has a new build_root_directory input and changes the working directory when calling Gradle.

Migration

If Gradle project is at android subdirectory:

diff workflow: test: steps: - gradle-runner: inputs: - - gradle_file: ./android/build.gradle - - gradlew_path: ./android/gradlew + - build_root_directory: ./android # Assuming Gradle Wrapper is at ./android/gradlew

What's Changed

  • Remove --build-file flag, introduce build root dir input by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/112
  • Make gradlew_path input default to ./gradlew by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/113

Full Changelog: https://github.com/bitrise-steplib/steps-gradle-runner/compare/3.0.0...4.0.0

- Go
Published by ofalvai 6 months ago

https://github.com/bitrise-steplib/steps-gradle-runner - 3.0.0

Breaking changes:

The --no-daemon Gradle flag is no longer set by default. When a workflow runs multiple Gradle commands, this results in faster subsequent Gradle executions as the existing Gradle daemon is reused (instead of stopping, then starting a new one). This shouldn't cause issues, but if it does, you can revert to the previous behavior by setting gradle_options to --stacktrace --no-daemon.

The following deprecated inputs have been removed: - apk_file_include_filter (use app_file_include_filter instead) - apk_file_exclude_filter (use app_file_exclude_filter instead)

What's Changed

  • Generate readme by @mateherber in https://github.com/bitrise-steplib/steps-gradle-runner/pull/91
  • Test running on JDK 11 by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/92
  • Use custom bot token in stale workflow by @bitrise-coresteps-bot in https://github.com/bitrise-steplib/steps-gradle-runner/pull/93
  • Configure Renovate by @renovate in https://github.com/bitrise-steplib/steps-gradle-runner/pull/94
  • Apply YAML lint by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/95
  • Delete leftover docker-compose.yml by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/97
  • [BE-46] Make sure jenv finds at least one valid JAVA installation by @fehersanyi-bitrise in https://github.com/bitrise-steplib/steps-gradle-runner/pull/99
  • removed a deprecated link from step.yml by @daniCsorba in https://github.com/bitrise-steplib/steps-gradle-runner/pull/100
  • Metrics collection by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/102
  • Fix optional --build-file flag in metrics by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/103
  • Load plugin from Maven Central by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/104
  • Update module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] by @renovate in https://github.com/bitrise-steplib/steps-gradle-runner/pull/106
  • Remove --no-daemon from default flags by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/107
  • Remove deprecated filter inputs by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/108
  • Remove unreleased metrics collection option by @ofalvai in https://github.com/bitrise-steplib/steps-gradle-runner/pull/109

Full Changelog: https://github.com/bitrise-steplib/steps-gradle-runner/compare/2.0.1...3.0.0

- Go
Published by ofalvai about 1 year ago

https://github.com/bitrise-steplib/steps-gradle-runner - 2.0.1

  • Improved log messages on *.apk, *.aab or mapping.txt collisions.
  • Added temporary and immediate directories to the default exclude lists to avoid most of the false positives

- Go
Published by mateherber over 4 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 2.0.0

Remove the temporary failure detection and retry logic from the Step. Users on Gradle 5+ will benefit from Gradle's network retries. Removed Retry failed Gradle command retry_on_failure Input.

Migration guide

For clarity, please remove references from the bitrise.yml.

- Go
Published by lpusok over 4 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.9

Calculate exclude paths for cache properly even if the project is not in root directory

- Go
Published by mateherber over 4 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.8

Updated caching mechanism to ignore local changes in *.gradle files used as an indicator.

- Go
Published by mateherber over 4 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.7

Updating Step's description.

- Go
Published by adborbas almost 5 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.6

Step description update.

- Go
Published by BirmacherAkos over 5 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.5

  • Updated dependencies (#79 )

- Go
Published by Szabadember over 5 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.4

  • Direct gradle output to log file if debug flag used #76
  • Fix typo in deprecation warning #73

- Go
Published by adborbas over 5 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.3

  • deps updated

- Go
Published by trapacska almost 6 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.2

Test APK file include filter description fix

- Go
Published by lszucs about 6 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.1

Added a new input Retry failed Gradle command ("retry_on_failure"), which enables or disables the automatic retry of a Gradle command, in case of temporary failure (for example a network timeout). It is enabled by default.

- Go
Published by lpusok about 6 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.9.0

Added two new inputs: APK and AAB file include filter (appfileincludefilter) and APK and AAB file exclude filter (appfileexcludefilter). These behave similarly to the now deprecated APK file include filter (apkfileincludefilter) and APK file exclude filter (apkfileexcludefilter). The difference is that appfileinclude_filter now searches for aab artifacts in addition to apk by default, and accepts multiple file filter patterns.

The artifacts are now looked up by matching the input glob patterns to the absolute path of the files in the current directory. This replaces directly running the command find -path "include" ! -path "exclude".

Deprecation note:

APK file include filter and APK file exclude filter are now deprecated, and will be removed in a next major version. No inputs were removed and all previously configured workflows will function as before.

Migration guide:

In case a non default input value for APK file include filter and APK file exclude filter was used in the workflow, the step will print a warning in the log. Copy the values of these inputs to APK and AAB file include filter and APK and AAB file exclude filter respectively. Clear the values of the deprecated inputs.

If the default input values of the inputs was used, no action is necessary. The step will not print a warning in the log.

- Go
Published by lpusok almost 7 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.8.5

Language improvements

- Go
Published by lszucs almost 7 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.8.4

Remove Bash toolkit leftovers

- Go
Published by BirmacherAkos about 7 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.8.3

  • export files only if they were made after the gradle task has started

- Go
Published by trapacska about 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.8.2

  • Fix gradlew path detection

- Go
Published by kdobmayer about 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.8.1

  • fix: gradlew command call

- Go
Published by kdobmayer about 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.8.0

  • added deprecation log for old input value

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.9

  • changed default cache_level input value
  • added more retry patterns

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.8

  • added test apk export input

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.7

  • Dependency file generation fix (#45)

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.6

  • lockfile renamed

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.5

  • updated project type tags

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.4

  • lockfile generation fix

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.3

  • added dependency lockfile

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.2

  • Retry gradle command on Failed to find target with hash string and Failed to find Build Tools revision errors

- Go
Published by godrei over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.1

  • godeps-update, added cacheLevel input (#38)

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.7.0

  • new output: BITRISE_APK_PATH_LIST - List of the generated APK paths
  • added ~/.m2 dir to cache include files
  • input grouping and reordering

- Go
Published by godrei over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.6.3

  • updated cache ignore paths

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.6.2

  • sample repo forked, url changed

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.6.1

  • Changed cache search path depth

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.6.0

  • Added built-in cache collection

- Go
Published by trapacska over 8 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.5.6

  • updated type_tags

- Go
Published by trapacska almost 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.5.5

  • Gradle build file made optional (#28)
  • godeps-update
  • Remove cmdex, add command (#27)

- Go
Published by trapacska almost 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.5.4

  • filter input clarifications

- Go
Published by godrei about 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.5.3

  • changed find option -name to -path in mapping.txt include/exclude filters

- Go
Published by godrei about 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.5.2

  • mapping file find fix - empty include pattern will provide 0 mapping file, instead of every file in the directory

- Go
Published by godrei over 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.5.1

  • shell quote gradle tasks - fix for Issue #15

- Go
Published by godrei over 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.4.1

workdir input was removed, for compatibility with other steps like https://github.com/bitrise-io/steps-gradle-unit-test

migration note:

you can prefix your other path inputs with the workdir you used, or you can add a change-workdir step right before the Gradle Runner step (important: this will change the working directory of every subsequent step, but of course you can use another change-workdir after the Gradle Runner to switch back)

- Go
Published by viktorbenei over 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.4.0

  • gradlew path is now required; added comments & links to help with generating one if required
  • other minor bug fixes and updates/revision

- Go
Published by viktorbenei over 9 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.3.1

  • mapping_file filters added, similar to the .apk filters (include & exclude filters)

- Go
Published by viktorbenei about 10 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.3.0

  • mapping.txt handling: search for it and export the path in an environment variable, just like for .apk
  • gradlew: add executable permission check

- Go
Published by viktorbenei about 10 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.2.0

  • NEW : Step now generates a $BITRISE_APK_PATH output, which contains the path of the generated APK (after filtering)

- Go
Published by viktorbenei about 10 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.1.1

  • new input: gradle_options to specify additional Gradle flags/options (like --stacktrace or --stacktrace --debug)
  • logging: prints the configuration before starting the build

- Go
Published by viktorbenei about 10 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.1.0

  • option to specify gradlew path, set to an ENV by default but can be overwritten
  • default exclude filter for unaligned APKs
  • logging improvements

- Go
Published by viktorbenei over 10 years ago

https://github.com/bitrise-steplib/steps-gradle-runner - 1.0.0

  • Added filter option for excluding apk files [ thanks to @selcukbulca ]
  • breaking the previous apk_file_filter is now called apk_file_include_filter
  • fixed workdir handling
  • Can now detect gradlew file and use it instead of using gradle directly

- Go
Published by viktorbenei over 10 years ago