Skip to content

Commit c4f2ff5

Browse files
committed
For #607. See what limits Gradle/Maven CI builds
1 parent a2821b1 commit c4f2ff5

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/ci-earthly-gradle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
# These ignores are specific to a cross-build against Maven
1616
- 'pom.xml'
1717
- 'mvnw*' # Wraper scripts
18-
- '.mvn'
18+
- '.mvn/**'
1919
- '.github/workflows/*maven*'
2020
# These ignores are specific to this project
2121
- 'run-with-maven.sh'
@@ -27,7 +27,7 @@ on:
2727
# These ignores are specific to a cross-build against Maven
2828
- 'pom.xml'
2929
- 'mvnw*' # Wrapper scripts
30-
- '.mvn'
30+
- '.mvn/**'
3131
- '.github/workflows/*maven*'
3232
# These ignores are specific to this project
3333
- 'run-with-maven.sh'

.github/workflows/ci-earthly-maven.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- 'images/**'
1515
# These ignores are specific to a cross-build against Gradle
1616
- 'build.gradle'
17-
- 'gradle' # Directory is distinct from files in GitHub ignores
17+
- 'gradle/**' # Directory is distinct from files in GitHub ignores
1818
- 'gradle*' # Wrapper scripts and properties
1919
- '.gradle'
2020
- '.github/workflows/*gradle*'
@@ -27,7 +27,7 @@ on:
2727
- 'images/**'
2828
# These ignores are specific to a cross-build against Gradle
2929
- 'build.gradle'
30-
- 'gradle' # Directory is distinct from files in GitHub ignores
30+
- 'gradle/**' # Directory is distinct from files in GitHub ignores
3131
- 'gradle*' # Wrapper scripts and properties
3232
- '.gradle'
3333
- '.github/workflows/*gradle*'

build.gradle

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ import com.github.spotbugs.snom.Confidence
33
import com.github.spotbugs.snom.Effort
44

55
plugins {
6+
// TODO: Since Gradle is not static description but live code, does the
7+
// ordering of plugins have impact?
8+
id "java" // Gradle support for Java
9+
// TODO: #607. How to leverage the Gradle dashboard?
610
id "build-dashboard" // See build/reports/buildDashboard/index.html
7-
// TODO: project-report is presently broken because of pitest task
11+
// TODO: Leverage the projectReport task for showing in CI
812
id "project-report" // Try the `projectReport` task
913
alias libs.plugins.com.dorongold.task.tree.plugin
1014
alias libs.plugins.com.github.ben.manes.versions.plugin
1115
alias libs.plugins.nl.littlerobots.version.catalog.update.plugin
12-
id "java" // Gradle support for Java
1316
id "checkstyle" // To check that code follow style standards
1417
id "jacoco" // To run test coverage
1518
id "pmd" // Static analysis based on source (does not check compiled code)

0 commit comments

Comments
 (0)