tooling-api.gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make a bunch of shit lazy

  1. … 14 more files in changeset.
Convert tooling-api to kotlin dsl

  1. … 3 more files in changeset.
Introduced the property moduleType to derive source compatibility settings

  1. … 80 more files in changeset.
Removed almost all extra properties and extracted build environment check into plugin

- Moved extra properties into extension methods

- Created AddVerifyProductionEnvironmentTaskPlugin

- Moved build-extensions from kotlin-dsl to configuration submodule

- Created separate extensions for project groups

  1. … 38 more files in changeset.
Extracted test file cleanup from root build into plugin

- Moved configuration of test file clean into extension

- Added TestFileCleanUpPlugin

- Moved CiReporting and Classycle plugin into codequality module

  1. … 23 more files in changeset.
Moved more scripts to buildSrc and refactored buildSrc

- Moved wrapper.gradle.kts to buildSrc

- Moved resumeBuild.gradle to buildSrc

- Moved minifiedDependencies.gradle to buildSrc

- Moved dependenciesCheck.gradle to buildSrc

- Moved updateReleasedVersions.gradle to buildSrc

- Introduced configuration submodule for developer focused configuration

- Created buildSrc submodule for buildquality

- Created buildSrc submodule for packaging

- Created buildSrc submodule for profiling

- Created buildSrc submodule for versioning

- Introduced org.gradle.gradlebuild naming convention

- Introduced project-groups file for providing groups of subprojects

  1. … 41 more files in changeset.
Moved more scripts to buildSrc and refactored buildSrc

- Moved wrapper.gradle.kts to buildSrc

- Moved resumeBuild.gradle to buildSrc

- Moved minifiedDependencies.gradle to buildSrc

- Moved dependenciesCheck.gradle to buildSrc

- Moved updateReleasedVersions.gradle to buildSrc

- Introduced configuration submodule for developer focused configuration

- Created buildSrc submodule for buildquality

- Created buildSrc submodule for packaging

- Created buildSrc submodule for profiling

- Created buildSrc submodule for versioning

- Introduced org.gradle.gradlebuild naming convention

- Introduced project-groups file for providing groups of subprojects

  1. … 41 more files in changeset.
Fixed problem in :tooling-api build caused by the new :docs publication

Keep properties close to Provider classes

  1. … 8 more files in changeset.
"coordinate" -> "coordinates"

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

  1. … 69 more files in changeset.
Put same versions back into shared 'versions' property

This also aligns the versions of all 'slf4j' modules to '1.7.16'

leading to the following upgrades in the Gradle distro:

jcl-over-slf4j 1.7.10 -> 1.7.16

jul-to-slf4j 1.7.10 -> 1.7.16

  1. … 8 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.
Unify implicit imports for Groovy and Kotlin

The Kotlin DSL uses the simple name to qualified name mapping

provided by the `ImportReader`, while the Groovy DSL so far fell

back to the imported packages list in some cases. The qualified

name mapping had a different order than the imported packages list,

leading to potential differences between Groovy and Kotlin.

The imported packages list predates the simple name to class mapping

and was still being used when there was more than one qualified class

name for a given simple name.

This commit fixes the discrepancy by ensuring that both collections

have the same order. I.e. selecting the first qualified name for a

simple name will yield the same result as iterating through the package

list and trying each one in turn.

The imported packages list is now only used in documentation, where it is

easier to digest than the full simple name to qualified name mapping.

  1. … 6 more files in changeset.
Need to implicitly import org.gradle.util classes in script plugins

Avoid use of GFileUtils.

  1. … 4 more files in changeset.
Change intTestImage distribution to only contain dependencies

This assembles a distribution that only contains the dependencies

required by the subproject under test. This way we stricter enforce

modularization and increase the cache hits for tests that run against

the distribution image.

  1. … 19 more files in changeset.
Change intTestImage distribution to only contain dependencies

This assembles a distribution that only contains the dependencies

required by the subproject under test. This way we stricter enforce

modularization and increase the cache hits for tests that run against

the distribution image.

  1. … 19 more files in changeset.
Add external modules to integration/crossVersion test runtime classpath

Otherwise gradl-kotlin-dsl is not available during embedded execution.

  1. … 1 more file in changeset.
Revert "Change to getClass() from instanceof (#2117)"

This reverts commit 5df3e0126992270844f189793407bb016c18271c.

There was a major performance regression with this commit.

  1. … 2 more files in changeset.
Change to getClass() from instanceof (#2117)

* Change to getClass() from instanceof

This prevents our breaking the symmetrical property of euqals through

extension.

EqualsVerifier also noticed some minor problems with some of the

equals() implementations especially around their handling of null values.

I fixed the implementations to deal more gracefully with nulls, but

without changing the core concepts of what equals() meant for each

type.

  1. … 2 more files in changeset.
Rename tapiTest to crossVersionTest and apply review comments

  1. … 349 more files in changeset.
Split TAPI tests to dedicated source sets

  1. … 346 more files in changeset.
Remove test exclusions

We need to revisit which exclusions can be make sense.

  1. … 2 more files in changeset.
Switch forked integration tests to run with daemon by default

  1. … 16 more files in changeset.
Don't relocate `sun.misc.Unsafe`

This was causing `ClassNotFoundException` on tooling API tests.

  1. … 2 more files in changeset.
Remove version-info.jar

+review REVIEW-6527

  1. … 13 more files in changeset.
Delete older tooling api artifacts in local repo

Publish toolingApi into right directory

Remove test build receipt

  1. … 13 more files in changeset.