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
uses: ./
with:
build-root-directory: __tests__/samples/basic
build-root-directory: __tests__/samples/no-wrapper
wrapper-directory: __tests__/samples/basic
arguments: test
arguments: help
- 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: ./
with:
gradle-version: rc
build-root-directory: __tests__/samples/basic
arguments: test
build-root-directory: __tests__/samples/no-wrapper
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}"