You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by vl...@apache.org on 2019/09/30 12:01:29 UTC

[jmeter] branch master updated: Fix formatting in src/licenses/build.gradle.kts

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new e179409  Fix formatting in src/licenses/build.gradle.kts
e179409 is described below

commit e1794097b0255c6fe65c088834484e6c753d2aeb
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Mon Sep 30 15:01:19 2019 +0300

    Fix formatting in src/licenses/build.gradle.kts
---
 src/licenses/build.gradle.kts | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/licenses/build.gradle.kts b/src/licenses/build.gradle.kts
index 4437e87..cf21f61 100644
--- a/src/licenses/build.gradle.kts
+++ b/src/licenses/build.gradle.kts
@@ -30,14 +30,6 @@ import com.github.vlsi.gradle.release.ExtraLicense
 import com.github.vlsi.gradle.release.dsl.dependencyLicenses
 import com.github.vlsi.gradle.release.dsl.licensesCopySpec
 
-// See https://docs.gradle.org/current/userguide/troubleshooting_dependency_resolution.html#sub:configuration_resolution_constraints
-// Gradle forbids to resolve configurations from other projects, so
-// we create our own copy of the configuration which belongs to the current project
-// This is the official recommendation:
-// In most cases, the deprecation warning can be fixed by defining a configuration in
-// the project where the resolution is occurring and setting it to extend from the configuration
-// in the other project.
-
 val binaryDependencies by configurations.creating
 val binLicense by configurations.creating
 val srcLicense by configurations.creating
@@ -203,7 +195,7 @@ val renderLicenseForBinary by tasks.registering(Apache2LicenseRenderer::class) {
 }
 
 tasks.build.configure {
-  dependsOn(renderLicenseForSource, renderLicenseForBinary)
+    dependsOn(renderLicenseForSource, renderLicenseForBinary)
 }
 
 // Below is to populate configurations with licenses