> Are you thinking to have a gradle task that fails if there is mismatch > between ant and gradle dependencies versions?
When you run './gradlew licenses' it currently applies all the checks against the same "licenses" folders as ant. So when you change something in ant and not do a corresponding change to gradle dependencies, "gradlew precommit" (or "licenses") will fail the build. Technically there are a few ignored entries inside the gradle validation script (to skip things like "start.jar"); everything else is resolved directly from declared dependencies. https://github.com/apache/lucene-solr/blob/gradle-master/gradle/validation/jar-checks.gradle#L340-L368 The gradle validation script is more strict than the ant build -- it fails if there are leftover files that don't belong anywhere, for example. Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
