antlr.gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
"coordinate" -> "coordinates"

  1. … 60 more files in changeset.
Migrated antlr and base-services builds to Kotlin

  1. … 4 more files in changeset.
Move dependency constraints into a separate project

  1. … 69 more files in changeset.
Restructure dependency declarations in Gradle build

This change:

- Separates dependencies of main build (Gradle distribution), buildSrc,

and test-only dependencies

- Replaces all "old" rules with constraints and/or metadata rules

with reasons

- Declares dependencies that end up in the Gradle distribution as strict

To avoid unnecessary downgrade rules, we now respect the wish for version

upgrades from transitive dependencies where possible. As consequence,

the following upgrades were performed in the Gradle distribution:

- com.beust:jcommander 1.12 -> 1.47

- com.google.code.findbugs:jsr305 1.3.9 -> 2.0.1

- commons-codec:commons-codec 1.6 -> 1.9

- commons-io:commons-io 2.2 -> 2.4

- net.sourceforge.nekohtml:nekohtml 1.9.14 -> 1.9.20

- org.apache.httpcomponents:httpclient 4.4.1 -> 4.5.2

- org.codehaus.plexus:plexus-utils 2.1 -> 3.0.8

  1. … 22 more files in changeset.
Extract idiomatic test-fixtures plugin to buildSrc

Plugin is applied to all "groovy projects", see `groovyProject.gradle`.

The plugin configures the Project as a test fixtures producer if

`src/testFixtures` is a directory.

The plugin configures the Project as a test fixtures consumer according

to the `testFixtures` extension configuration.

No more Groovy Closure with optional parameters as a Project extra

property.

Test-fixtures configuration rely on a Groovy DSL only feature that

allows to pass a collection of dependency notations when declaring

dependencies. The Kotlin DSL lacks this feature, see

https://github.com/gradle/kotlin-dsl/issues/639

A workaround has been put in place in `build-extensions.kt` in order to

move forward until this is properly fixed in the Kotlin DSL.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 70 more files in changeset.
Remove our custom provided configuration in favor of compileOnly

- Remove FindBugsExecuterTest since it relies on a FindBugs type and doesn't add much value

- Move static constants from ZincScalaCompilerFactory into ZincScalaCompilerUtil so tests don't rely on Zinc/Scala internals

- Replace uses of 'provided' with 'compileOnly'

- Move FindBugs and Zinc dependencies into gradle/dependencies.gradle

  1. … 9 more files in changeset.
Move workers into their own subproject

  1. … 122 more files in changeset.
Update subprojects for verifying test file cleanup

  1. … 28 more files in changeset.
Lock in file cleanup for antlr

- This makes it an error in our continuous builds for antlr tests to

leave files behind.

Calculate the ordering of antlr2 grammar files to process

- brought back ordering logic we had in 2.2

- if no explicit exportVocab option is used, the classname is used

- use antlr2 as provided dependency for calculating grammar ordering

  1. … 11 more files in changeset.
Rework Antlr integration to not require a compile or runtime dependency on Antlr for Gradle.

  1. … 10 more files in changeset.
Added integration tests, still includes classpath wrapping in mock build file.

  1. … 5 more files in changeset.
GRADLE-902 Adds support for ANTLR v3 and v4.

  1. … 19 more files in changeset.
Revert "GRADLE-902 Adds ANTLR v3 support to existing antlr plugin."

  1. … 5 more files in changeset.
GRADLE-902 Adds ANTLR v3 support to existing antlr plugin.

  1. … 5 more files in changeset.
Changed the build so that it no longer uses the `groovy` configuration.

  1. … 35 more files in changeset.
More tweaks to dependency declarations.

  1. … 13 more files in changeset.
Merge libraries.groovy and libraries.groovy_depends

  1. … 21 more files in changeset.
Added a new sourceSet “testFixtures” (automatically applied if project has a src/testFixtures did) for test fixtures that apply to a project's classes. Also moved the test fixtures for the core and plugins projects from internal-testing into this new source set.

Also added a build dsl method “useTestFixtures()” that configures a project to use the test fixtures from another project.

I don't think this will solve our cyclic project dependencies in Eclipse issue, but it's a step in the right direction.

  1. … 44 more files in changeset.
Remove redundant applications of the groovy plugin (as it's applied to all sub projects in the root build script).

  1. … 6 more files in changeset.
Introduced a build convention of projects prefixed with “internal-” being regarded as not for public consumption.

Right now, this means not including them in the Gradle distribution and not requiring Javadocs like public projects.

The “testing” project has been renamed to “testingInternal” under this new convention.

  1. … 135 more files in changeset.
Moved core/src/test and core/src/integTest into new “testing” module which contains all fixtures/utilities for testing support.

This module is not part of the Gradle distribution. See the build script for this module for more info.

  1. … 134 more files in changeset.
Renamed subprojects/gradle-(.+) to subprojects/$1

  1. … 6178 more files in changeset.