Skip to content

Commit

Permalink
For #607. See what limits Gradle/Maven CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
binkley committed Aug 13, 2024
1 parent a2821b1 commit c4f2ff5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-earthly-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
# These ignores are specific to a cross-build against Maven
- 'pom.xml'
- 'mvnw*' # Wraper scripts
- '.mvn'
- '.mvn/**'
- '.github/workflows/*maven*'
# These ignores are specific to this project
- 'run-with-maven.sh'
Expand All @@ -27,7 +27,7 @@ on:
# These ignores are specific to a cross-build against Maven
- 'pom.xml'
- 'mvnw*' # Wrapper scripts
- '.mvn'
- '.mvn/**'
- '.github/workflows/*maven*'
# These ignores are specific to this project
- 'run-with-maven.sh'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-earthly-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- 'images/**'
# These ignores are specific to a cross-build against Gradle
- 'build.gradle'
- 'gradle' # Directory is distinct from files in GitHub ignores
- 'gradle/**' # Directory is distinct from files in GitHub ignores
- 'gradle*' # Wrapper scripts and properties
- '.gradle'
- '.github/workflows/*gradle*'
Expand All @@ -27,7 +27,7 @@ on:
- 'images/**'
# These ignores are specific to a cross-build against Gradle
- 'build.gradle'
- 'gradle' # Directory is distinct from files in GitHub ignores
- 'gradle/**' # Directory is distinct from files in GitHub ignores
- 'gradle*' # Wrapper scripts and properties
- '.gradle'
- '.github/workflows/*gradle*'
Expand Down
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort

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

0 comments on commit c4f2ff5

Please sign in to comment.