Add a very-limited ‘no-wrapper’ test Gradle build

Will use this for testing Gradle execution with different versions and mechanisms.
This commit is contained in:
Daz DeBoer 2021-06-24 11:45:25 -07:00
parent 26b92e3f5c
commit 63fea55da4
4 changed files with 24 additions and 4 deletions

View file

@ -22,12 +22,18 @@ jobs:
- name: Test custom wrapper location - name: Test custom wrapper location
uses: ./ uses: ./
with: with:
build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/no-wrapper
wrapper-directory: __tests__/samples/basic wrapper-directory: __tests__/samples/basic
arguments: test arguments: help
- name: Test use defined Gradle version - name: Test use defined Gradle version
uses: ./
with:
gradle-version: 6.9
build-root-directory: __tests__/samples/no-wrapper
arguments: help
- name: Test use Gradle version alias
uses: ./ uses: ./
with: with:
gradle-version: rc gradle-version: rc
build-root-directory: __tests__/samples/basic build-root-directory: __tests__/samples/no-wrapper
arguments: test arguments: help

View file

@ -0,0 +1,6 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf

View file

@ -0,0 +1,5 @@
# Ignore Gradle project-specific cache directory
.gradle
# Ignore Gradle build output directory
build

View file

@ -0,0 +1,3 @@
rootProject.name = 'no-wrapper'
println "Using Gradle version: ${gradle.gradleVersion}"