gradle / develocity-gitlab-templates

GitLab CI/CD templates to automatically connect Gradle/Maven builds to Develocity
Apache License 2.0
10 stars 8 forks source link

Use captureFileFingerprints for Maven extension 1.21 #27

Closed alextu closed 8 months ago

alextu commented 8 months ago

Use develocity.scan.captureFileFingerprints for Maven extension 1.21 and above else gradle.scan.captureGoalInputFiles. This PR also refactors the unit tests.

alextu commented 8 months ago

Alternatively, you can just set both system properties. That makes the script a bit simpler, but it is up to you.

Good point, will follow this approach as I think in other CI integrations