resources-gcs.gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert `resources-gcs` build script to Kotlin

  1. … 2 more files in changeset.
Merge CORE and PLUGIN module types

  1. … 28 more files in changeset.
Converted many Groovy script to Kotlin and improved the Kotlin DSL usage in some existing Kotlin scripts.

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

  1. … 80 more files in changeset.
Added gradlebuild namespace to plugins and more modularization in buildSrc

- Added to all plugins in buildSrc "gradlebuild." to their id

- Shortened plugin names

- Added ide and docs as additional modules

- Applied java-library plugin to Kotlin projects to model dependencies

  1. … 86 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.
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 strict-compile plugin to buildSrc

Sub projects request the plugin if needed.

The plugin configures the Java and Groovy compilation tasks according

to the `strictCompile` extension configuration.

No more Groovy Closures as a Project extra properties.

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

  1. … 30 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.
Make the Classycle configuration more idiomatic

by replacing the configuration function useClassycle() as extra project

property with a plugins {} block plugin request and a project extension.

The classycle extension has two properties, one for the excludes defined

per project, the other one to reference the report resources zip.

This change will make configuring classycle from Kotlin DSL scripts

nicer.

Introduce kotlin-dsl-upstream.kt in buildSrc org.gradle.kotlin.dsl

package for members missing from the Gradle Kotlin DSL intended to be

pulled upstream into the next Gradle Kotlin DSL release.

A sole extension added: reified ObjectFactory.listProperty()

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

  1. … 54 more files in changeset.
Add GCS transport protocol support, similar to S3 (#2258)

    • -0
    • +15
    ./resources-gcs.gradle
  1. … 46 more files in changeset.