profile
viewpoint

nebula-plugins/gradle-lint-plugin 417

A pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts.

nebula-plugins/gradle-ospackage-plugin 315

Gradle plugin for constructing linux packages, specifically RPM and DEBs.

nebula-plugins/gradle-dependency-lock-plugin 245

A plugin to allow people using dynamic dependency versions to lock them to specific versions.

nebula-plugins/gradle-extra-configurations-plugin 131

Gradle plugin introducing a provided dependency configuration and marking a dependency as optional.

nebula-plugins/gradle-metrics-plugin 65

Plugin to send Gradle metrics to external datasources

nebula-plugins/gradle-info-plugin 41

Plugin to gather information about the environment

nebula-plugins/gradle-resolution-rules-plugin 32

Gradle plugin for providing reusable dependency resolution rules.

nebula-plugins/gradle-aggregate-javadocs-plugin 24

Provides the ability to aggregate Javadocs across all projects in a multi-project build.

nebula-plugins/gradle-java-cross-compile-plugin 19

Automatic configuration of bootstrap classpath for Java, Groovy and Kotlin.

nebula-plugins/gradle-override-plugin 18

Override arbitrary properties in a Gradle build

startednebula-plugins/nebula-publishing-plugin

started time in an hour

issue closednebula-plugins/gradle-ospackage-plugin

Minor: fix directory permissions in examples

The example provided in the wiki is misleading:

Directories

Specifies directory that should be created within package.

directory(String path, int permissions)

E.g.

directory('/some/dir')
directory('/some/dir', 644)

This won't be interpreted as octal. The example could be improved:

directory('/some/dir', 0644)

(See reported and closed bug: https://github.com/nebula-plugins/gradle-ospackage-plugin/issues/152)

closed time in 7 hours

gallardo

issue commentnebula-plugins/gradle-ospackage-plugin

Minor: fix directory permissions in examples

Hi! thanks for reporting this.

This should be fixed now in the example

gallardo

comment created time in 7 hours

GollumEvent
GollumEvent

startednebula-plugins/gradle-lint-plugin

started time in 3 days

push eventnebula-plugins/gradle-nebula-integration

Aubrey Chipman

commit sha fe4d322b36633a8942a6aa6e2b6aac6b82deb54b

Core alignment issue with substitutions and a direct dependency

view details

push time in 3 days

issue closednebula-plugins/nebula-release-plugin

Could not find method contains() for arguments [SNAPSHOT] on object of type org.ajoberstar.gradle.git.release.base.ReleasePluginExtension

I have defined allprojects in init.gradle, but tasks defined in subjects are not getting configured on Gradle multi-project build

projectsEvaluated {
    rootProject.allprojects {
    Upload uploadTask = project.getTasks().withType(Upload.class).findByName("uploadArchives");
println "uploadTask--->+uploadTask
     uploadTask.repositories.mavenDeployer {
                           // trying to read pom properties
            }
      }
}

and have "uploadArchives" task in one of sub-projects. I have used allprojects, but getting below error

uploadTask--->task ':SubProj1:uploadArchives'

> Configure project :SubProj1
Inferred project: SubProj1, version: 2.0.0-rc.1
> Task :SubProj1:uploadArchives

FAILURE: Build failed with an exception.

* What went wrong:
Could not find method contains() for arguments [SNAPSHOT] on object of type org.ajoberstar.gradle.git.release.base.ReleasePluginExtension.

closed time in 3 days

ramakrishnakaushik97

issue openednebula-plugins/nebula-release-plugin

Cannot get property 'repositories' on null object on allprojects

I have defined to get all

projectsEvaluated {

rootProject.allprojects {

Upload uploadTask = project.getTasks().withType(Upload.class).findByName("uploadArchives");

 uploadTask.repositories.mavenDeployer {
                       // trying read pom properties
        }
 }

}

and have "uploadArchives" task in one of sub-projects. As I have used allprojects, but getting below error

Cannot get property 'repositories' on null object Could not find method contains() for arguments [SNAPSHOT] on object of type org.ajoberstar.gradle.git.release.base.ReleasePluginExtension.

created time in 4 days

startednebula-plugins/nebula-release-plugin

started time in 4 days

created tagnebula-plugins/gradle-dependency-lock-plugin

tagv9.4.1

A plugin to allow people using dynamic dependency versions to lock them to specific versions.

created time in 4 days

release nebula-plugins/gradle-dependency-lock-plugin

v9.4.1

released time in 4 days

delete branch nebula-plugins/gradle-dependency-lock-plugin

delete branch : fix-platform-support

delete time in 4 days

push eventnebula-plugins/gradle-dependency-lock-plugin

Roberto Perez Alcolea

commit sha 940ef7d89e80ad3ca94cc2c49f72e5d87cea40cc

DependencyLockPlugin: lockConfiguration should change version via useVersion instead of useTarget

view details

Roberto Perez Alcolea

commit sha 8638c50b02007155859f14654fd4873a7aad0ca0

Merge pull request #198 from nebula-plugins/fix-platform-support DependencyLockPlugin: lockConfiguration should change version via useVersion instead of useTarget

view details

push time in 4 days

pull request commentnebula-plugins/gradle-dependency-lock-plugin

DependencyLockPlugin: lockConfiguration should change version via useVersion instead of useTarget

Coverage Status

Coverage remained the same at 72.106% when pulling 940ef7d89e80ad3ca94cc2c49f72e5d87cea40cc on fix-platform-support into cf18d3418a931b63c9e79e42518e6a59ce1b22c8 on master.

rpalcolea

comment created time in 4 days

push eventnebula-plugins/gradle-nebula-integration

Roberto Perez Alcolea

commit sha a681f51d70b2001e756f82de39630f8fa67251b0

Merge branch 'master' of ssh://github.com/nebula-plugins/gradle-nebula-integration

view details

push time in 4 days

push eventnebula-plugins/gradle-nebula-integration

Roberto Perez Alcolea

commit sha 7fd3e1f121d808638870bd4c1ac493e7cde72e96

Merge branch 'master' of ssh://github.com/nebula-plugins/gradle-nebula-integration

view details

push time in 4 days

push eventnebula-plugins/gradle-nebula-integration

Roberto Perez Alcolea

commit sha ba96cea369a5497787df85465e2db528e1255605

Merge branch 'master' of ssh://github.com/nebula-plugins/gradle-nebula-integration

view details

push time in 4 days

push eventnebula-plugins/gradle-nebula-integration

Roberto Perez Alcolea

commit sha 0504b494c21de720ef60dcc87ca03f79c3aa1241

Create sample project that has issue with dependency locks + platform

view details

Roberto Perez Alcolea

commit sha 8992164fddf554834c6c7f8923cbe715d0f0d322

Merge branch 'master' of ssh://github.com/nebula-plugins/gradle-nebula-integration

view details

push time in 4 days

startednebula-plugins/gradle-lint-plugin

started time in 4 days

startednebula-plugins/gradle-dependency-lock-plugin

started time in 4 days

startednebula-plugins/nebula-test

started time in 4 days

issue openednebula-plugins/gradle-resolution-rules-plugin

JDK 13+ Compatibility

I have a Gradle multi module setup where I apply the plugin exactly as shown in the README. Everything works with JDK 11 but if I switch to JDK 13 or 14 I get the following exception(s):

org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':foo'.
// …
Cause 1: java.lang.NoSuchFieldException: modifiers
	at nebula.plugin.resolutionrules.ConfigurationsKt.setField(configurations.kt:66)
	at nebula.plugin.resolutionrules.ConfigurationsKt.setName(configurations.kt:50)
	at nebula.plugin.resolutionrules.ConfigurationsKt.copyConfiguration(configurations.kt:26)
	at nebula.plugin.resolutionrules.NebulaResolutionRulesExtension$rulesByFile$2.invoke(plugin.kt:123)
	at nebula.plugin.resolutionrules.NebulaResolutionRulesExtension$rulesByFile$2.invoke(plugin.kt:110)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at nebula.plugin.resolutionrules.NebulaResolutionRulesExtension.getRulesByFile(plugin.kt)
	at nebula.plugin.resolutionrules.NebulaResolutionRulesExtension.ruleSet(plugin.kt:150)
	at nebula.plugin.resolutionrules.ResolutionRulesPlugin$apply$1.execute(plugin.kt:80)
	at nebula.plugin.resolutionrules.ResolutionRulesPlugin$apply$1.execute(plugin.kt:37)
	at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1$1.run(DefaultCollectionCallbackActionDecorator.java:100)
// …

Not sure where this stems from but it seems that this plugin is not compatible with JDK 13+ (I didn't test JDK 12). It should be fairly simple to reproduce, just create a project with a submodule and apply the plugin as stated in the README and try running ./gradlew tasks.

created time in 6 days

issue openednebula-plugins/gradle-ospackage-plugin

Minor: fix directory permissions in examples

The example provided in the wiki is misleading:

Directories

Specifies directory that should be created within package.

directory(String path, int permissions)

E.g.

directory('/some/dir')
directory('/some/dir', 644)

This won't be interpreted as octal. The example could be improved:

directory('/some/dir', 0644)

(See reported and closed bug: https://github.com/nebula-plugins/gradle-ospackage-plugin/issues/152)

created time in 7 days

issue commentnebula-plugins/gradle-ospackage-plugin

sticky bit on files and directories

I also had the same problem misled by the examples in the doc

abedwardsw

comment created time in 7 days

fork gallardo/gradle-ospackage-plugin

Gradle plugin for constructing linux packages, specifically RPM and DEBs.

fork in 7 days

startednebula-plugins/gradle-lint-plugin

started time in 8 days

created tagnebula-plugins/gradle-info-plugin

tagv8.4.0

Plugin to gather information about the environment

created time in 9 days

release nebula-plugins/gradle-info-plugin

v8.4.0

released time in 9 days

delete branch nebula-plugins/gradle-info-plugin

delete branch : InfoJarManifestPlugin-ignore-info-properties-for-manifest-normalization

delete time in 9 days

push eventnebula-plugins/gradle-info-plugin

Roberto Perez Alcolea

commit sha a2e463a9473840ee9558d94ae0a66e45774c7ea3

InfoJarManifestPlugin: configure meta inf normalization to ignore gradle-info-plugin attributes

view details

Roberto Perez Alcolea

commit sha e85e1f144588ee543eefbd977c516b4decb3dfc0

Merge pull request #75 from nebula-plugins/InfoJarManifestPlugin-ignore-info-properties-for-manifest-normalization InfoJarManifestPlugin: configure meta inf normalization to ignore gradle-info-plugin attributes

view details

push time in 9 days

startednebula-plugins/nebula-release-plugin

started time in 9 days

pull request commentnebula-plugins/gradle-info-plugin

InfoJarManifestPlugin: configure meta inf normalization to ignore gradle-info-plugin attributes

Coverage Status

Coverage decreased (-28.3%) to 46.316% when pulling a2e463a9473840ee9558d94ae0a66e45774c7ea3 on InfoJarManifestPlugin-ignore-info-properties-for-manifest-normalization into ffd85d655baf6cd0d7015c1754648eb9e007295a on master.

rpalcolea

comment created time in 10 days

push eventnebula-plugins/gradle-info-plugin

Roberto Perez Alcolea

commit sha a2e463a9473840ee9558d94ae0a66e45774c7ea3

InfoJarManifestPlugin: configure meta inf normalization to ignore gradle-info-plugin attributes

view details

push time in 10 days

PR closed nebula-plugins/gradle-info-plugin

Reviewers
InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

The idea is to make the attributes configurable via InfoBrokerPlugin to avoid hardcoding values in the implementation. Thoughts?

+152 -9

1 comment

12 changed files

rpalcolea

pr closed time in 10 days

Pull request review commentnebula-plugins/gradle-info-plugin

InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

 class InfoJarManifestPlugin implements Plugin<Project>, InfoReporterPlugin {                     jarTask.manifest.attributes.putAll(attrs)                 }             }++            project.afterEvaluate {+                if(GradleKt.versionGreaterThan(project.gradle, "6.6-rc-1")) {+                    configureMetaInfNormalization(project)+                }+            }+         }     }++    @CompileDynamic+    private void configureMetaInfNormalization(Project project) {+        InfoBrokerPluginExtension extension = project.extensions.getByName('infoBroker') as InfoBrokerPluginExtension+        project.normalization.runtimeClasspath.metaInf(new Action<MetaInfNormalization>() {+            @Override+            void execute(MetaInfNormalization metaInfNormalization) {+                if(extension.ignoreManifestForNormalization.isPresent() && extension.ignoreManifestForNormalization.get()) {

I was thinking on a extension so people can decide what to do (like outside of the nebula context). But yeah you are right... this is info broker specific.

Should we have a list of what to ignore first then?

I'm thinking:

Build-Date: 2020-07-08_18:34:10 Built-OS Build-Number Build-Job `Build-Id

rpalcolea

comment created time in 10 days

Pull request review commentnebula-plugins/gradle-info-plugin

InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

 class InfoJarManifestPlugin implements Plugin<Project>, InfoReporterPlugin {                     jarTask.manifest.attributes.putAll(attrs)                 }             }++            project.afterEvaluate {+                if(GradleKt.versionGreaterThan(project.gradle, "6.6-rc-1")) {+                    configureMetaInfNormalization(project)+                }+            }+         }     }++    @CompileDynamic+    private void configureMetaInfNormalization(Project project) {+        InfoBrokerPluginExtension extension = project.extensions.getByName('infoBroker') as InfoBrokerPluginExtension+        project.normalization.runtimeClasspath.metaInf(new Action<MetaInfNormalization>() {+            @Override+            void execute(MetaInfNormalization metaInfNormalization) {+                if(extension.ignoreManifestForNormalization.isPresent() && extension.ignoreManifestForNormalization.get()) {+                    metaInfNormalization.ignoreManifest()+                }+                if(extension.ignoreNormalizationCompletely.isPresent() && extension.ignoreNormalizationCompletely.get()) {+                    metaInfNormalization.ignoreCompletely()+                }+                if(extension.ignoredPropertiesForNormalization.isPresent()) {+                    extension.ignoredPropertiesForNormalization.get().each { manifestProperty ->+                        metaInfNormalization.ignoreProperty(manifestProperty)+                    }+                }+                if(extension.ignoredManifestAttributesForNormalization.isPresent()) {+                    extension.ignoredManifestAttributesForNormalization.get().each { manifestAttribute ->

Same here.

rpalcolea

comment created time in 10 days

Pull request review commentnebula-plugins/gradle-info-plugin

InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

 class InfoJarManifestPlugin implements Plugin<Project>, InfoReporterPlugin {                     jarTask.manifest.attributes.putAll(attrs)                 }             }++            project.afterEvaluate {+                if(GradleKt.versionGreaterThan(project.gradle, "6.6-rc-1")) {+                    configureMetaInfNormalization(project)+                }+            }+         }     }++    @CompileDynamic+    private void configureMetaInfNormalization(Project project) {+        InfoBrokerPluginExtension extension = project.extensions.getByName('infoBroker') as InfoBrokerPluginExtension+        project.normalization.runtimeClasspath.metaInf(new Action<MetaInfNormalization>() {+            @Override+            void execute(MetaInfNormalization metaInfNormalization) {+                if(extension.ignoreManifestForNormalization.isPresent() && extension.ignoreManifestForNormalization.get()) {+                    metaInfNormalization.ignoreManifest()+                }+                if(extension.ignoreNormalizationCompletely.isPresent() && extension.ignoreNormalizationCompletely.get()) {+                    metaInfNormalization.ignoreCompletely()+                }+                if(extension.ignoredPropertiesForNormalization.isPresent()) {+                    extension.ignoredPropertiesForNormalization.get().each { manifestProperty ->

We know what the default changing properties are here - think we should configure those explicitly rather than exposing general purpose normalization extensions.

rpalcolea

comment created time in 10 days

Pull request review commentnebula-plugins/gradle-info-plugin

InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

 class InfoJarManifestPlugin implements Plugin<Project>, InfoReporterPlugin {                     jarTask.manifest.attributes.putAll(attrs)                 }             }++            project.afterEvaluate {+                if(GradleKt.versionGreaterThan(project.gradle, "6.6-rc-1")) {+                    configureMetaInfNormalization(project)+                }+            }+         }     }++    @CompileDynamic+    private void configureMetaInfNormalization(Project project) {+        InfoBrokerPluginExtension extension = project.extensions.getByName('infoBroker') as InfoBrokerPluginExtension+        project.normalization.runtimeClasspath.metaInf(new Action<MetaInfNormalization>() {+            @Override+            void execute(MetaInfNormalization metaInfNormalization) {+                if(extension.ignoreManifestForNormalization.isPresent() && extension.ignoreManifestForNormalization.get()) {

I'm not sure I'd expose this here - that's something you'd want to configure directly, no?

rpalcolea

comment created time in 10 days

pull request commentnebula-plugins/gradle-info-plugin

InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

Coverage Status

Coverage decreased (-26.3%) to 48.319% when pulling 62ece924e56eb65a7fb7295789593ecaf30042f8 on InfoJarManifestPlugin-support-manifest-normalization-config into ffd85d655baf6cd0d7015c1754648eb9e007295a on master.

rpalcolea

comment created time in 10 days

PR opened nebula-plugins/gradle-info-plugin

Reviewers
InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

The idea is to make the attributes configurable via InfoBrokerPlugin to avoid hardcoding values in the implementation. Thoughts?

+152 -9

0 comment

12 changed files

pr created time in 10 days

push eventnebula-plugins/gradle-info-plugin

Roberto Perez Alcolea

commit sha 62ece924e56eb65a7fb7295789593ecaf30042f8

InfoJarManifestPlugin: introduce support for configuring MetaInfNormalization

view details

push time in 10 days

fork kingargyle/nebula-dependency-recommender-plugin

Leave off version numbers in your dependencies section and have versions recommended by several possible sources.

fork in 10 days

startednebula-plugins/gradle-ospackage-plugin

started time in 11 days

push eventnebula-plugins/gradle-nebula-integration

Aubrey Chipman

commit sha db897089f09df1d716e1ac9e95613746b301ae6b

Core alignment showing multiple aligned platforms

view details

push time in 11 days

created tagnebula-plugins/nebula-release-plugin

tagv15.1.0

Release opinions based around gradle-git

created time in 12 days

release nebula-plugins/nebula-release-plugin

v15.1.0

released time in 12 days

push eventnebula-plugins/nebula-release-plugin

Roberto Perez Alcolea

commit sha 7bd20625b03c8927e3e728c20b6f3fa95a1bc2a0

immutable snapshots timestamp use YYYYMMddHHmm format

view details

push time in 12 days

push eventnebula-plugins/gradle-nebula-integration

Roberto Perez Alcolea

commit sha 975c495b43a2f4458aaedf6b48aa555e8b6f44ab

gradle-test-multi-configuration-pom: introduce TestMultiScopePomFunctionalTest.groovy

view details

push time in 12 days

startednebula-plugins/gradle-ospackage-plugin

started time in 12 days

release nebula-plugins/gradle-java-cross-compile-plugin

v4.3.0

released time in 12 days

created tagnebula-plugins/gradle-java-cross-compile-plugin

tagv4.3.0

Automatic configuration of bootstrap classpath for Java, Groovy and Kotlin.

created time in 12 days

delete branch nebula-plugins/gradle-java-cross-compile-plugin

delete branch : use-CompileOptions-release-property

delete time in 12 days

push eventnebula-plugins/gradle-java-cross-compile-plugin

Roberto Perez Alcolea

commit sha 09a338a81fb0ddf6f49d879eb33bbc6215f3627d

JavaCrossCompilePlugin: use CompileOption release property

view details

Roberto Perez Alcolea

commit sha a67b437ea2e6f88708aebb8c517649b31aa3bbf4

Merge pull request #17 from nebula-plugins/use-CompileOptions-release-property JavaCrossCompilePlugin: use CompileOptions release property

view details

push time in 12 days

Pull request review commentnebula-plugins/gradle-java-cross-compile-plugin

JavaCrossCompilePlugin: use CompileOptions release property

 class JavaCrossCompilePlugin @Inject constructor(private val providerFactory: Pr                 val location by lazy { targetCompatibility.locate(project, providers) }                 withType(JavaCompile::class.java) {                     if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {-                        it.options.compilerArgs.addAll(listOf("--release", targetCompatibility.majorVersion))+                        if (project.gradle.versionLessThan("6.6-rc-1")) {+                            it.options.compilerArgs.addAll(listOf("--release", targetCompatibility.majorVersion))+                        } else {+                            it.options.release.set(targetCompatibility.majorVersion.toInt())

The updated docs, for our future information: 6.6-rc-2 CompileOptions

rpalcolea

comment created time in 12 days

Pull request review commentnebula-plugins/gradle-java-cross-compile-plugin

JavaCrossCompilePlugin: use CompileOptions release property

 class JavaCrossCompilePlugin @Inject constructor(private val providerFactory: Pr                 val location by lazy { targetCompatibility.locate(project, providers) }                 withType(JavaCompile::class.java) {                     if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {-                        it.options.compilerArgs.addAll(listOf("--release", targetCompatibility.majorVersion))+                        if (project.gradle.versionLessThan("6.6-rc-1")) {+                            it.options.compilerArgs.addAll(listOf("--release", targetCompatibility.majorVersion))+                        } else {+                            it.options.release.set(targetCompatibility.majorVersion.toInt())

Nice!

rpalcolea

comment created time in 12 days

Pull request review commentnebula-plugins/gradle-java-cross-compile-plugin

JavaCrossCompilePlugin: use CompileOption release property

 class JavaCrossCompilePlugin @Inject constructor(private val providerFactory: Pr                 val location by lazy { targetCompatibility.locate(project, providers) }                 withType(JavaCompile::class.java) {                     if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {-                        it.options.compilerArgs.addAll(listOf("--release", targetCompatibility.majorVersion))+                        if (project.gradle.versionLessThan("6.6-rc-1")) {+                            it.options.compilerArgs.addAll(listOf("--release", targetCompatibility.majorVersion))+                        } else {+                            it.options.release.set(targetCompatibility.majorVersion.toInt())

use CompileOptions.release property with Gradle 6.6-rc-1 +

rpalcolea

comment created time in 12 days

Pull request review commentnebula-plugins/gradle-java-cross-compile-plugin

JavaCrossCompilePlugin: use CompileOption release property

 class JavaCrossCompilePluginIntegrationSpec extends IntegrationSpec {         writeHelloWorld('helloworld')          when:-        runTasks('--configuration-cache=on', 'compileJava')-        def result = runTasks('--configuration-cache=on', 'compileJava')+        runTasks('--configuration-cache', 'compileJava')+        def result = runTasks('--configuration-cache', 'compileJava')

feature flag for configuration cache changed between Gradle 6.5 and 6.6

rpalcolea

comment created time in 12 days

startednebula-plugins/nebula-publishing-plugin

started time in 13 days

issue commentnebula-plugins/gradle-lint-plugin

Add support for version alignment in multi-module projects with java-platform

Had the same issue. The workaround here fixed it: https://github.com/gradle/gradle/issues/6854

eyalroth

comment created time in 14 days

push eventnebula-plugins/gradle-nebula-integration

Roberto Perez Alcolea

commit sha 102e7b07a2b1912a1142c861b058b9f63f155d94

gradle-test-multi-configuration-pom: show scenario where a dependency is repeated in POM file and the last scope wins regardless of importance

view details

push time in 17 days

startednebula-plugins/gradle-dependency-lock-plugin

started time in 17 days

startednebula-plugins/nebula-release-plugin

started time in 17 days

push eventnebula-plugins/gradle-resolution-rules-plugin

Roberto Perez Alcolea

commit sha 2b59c0e1d0c8d6c90b84bdd237568a13c1f2a40c

Gradle 6.6-rc-1

view details

push time in 18 days

release nebula-plugins/gradle-dependency-lock-plugin

v9.4.0

released time in 20 days

created tagnebula-plugins/gradle-dependency-lock-plugin

tagv9.4.0

A plugin to allow people using dynamic dependency versions to lock them to specific versions.

created time in 20 days

delete branch nebula-plugins/gradle-dependency-lock-plugin

delete branch : verifier-safely-handles-projects

delete time in 20 days

push eventnebula-plugins/gradle-dependency-lock-plugin

Aubrey Chipman

commit sha 329be12baabd1445001282de3f1b901304877860

Dependency resolution verifier is safe across projects. Verification happens after every task from the owning project

view details

Aubrey Chipman

commit sha 505293222e99870a78084ddf5bc81414220e4536

Dependency resolution verifier test output is easier to read with looking at only one configuration

view details

Aubrey Chipman

commit sha 8b75736e12656d28eea4383d215fd93ecdb7634d

Dependency resolution verifier tests when a task requires resolved configurations

view details

Aubrey Chipman

commit sha 3e51b20fc3dc34a3d80a84d8ad3720a3d75079e1

Dependency resolution verifier is in kotlin

view details

Aubrey Chipman

commit sha 5f6369c090a5429bc715ad12012f30c6201e62f3

Dependency resolution verifier after tasks only runs for those of type DependencyReportTask, DependencyInsightReportTask, and AbstractCompile

view details

OdysseusLives

commit sha cf18d3418a931b63c9e79e42518e6a59ce1b22c8

Merge pull request #197 from nebula-plugins/verifier-safely-handles-projects Verifier safely handles projects

view details

push time in 20 days

PR merged nebula-plugins/gradle-dependency-lock-plugin

Reviewers
Verifier safely handles projects

Dependency resolution verifier runs:

  • after a build finishes, if it failed
  • after a task of type AbstractCompile, DependencyReportTask, or DependencyInsightReportTask completes

and it will share info about dependencies which failed to resolve or are missing versions

and is safe across project boundaries

It's also now in Kotlin

+586 -327

1 comment

6 changed files

OdysseusLives

pr closed time in 20 days

issue commentnebula-plugins/gradle-lint-plugin

FileNotFoundException - Access Denied when running fixGradleLint

The same happens with lintGradle task. The following example runs the task for all projects (no : before the task).

D:\Git\project-directory>gradlew lintGradle --stacktrace

> Task :lintGradle FAILED

Error from [com.netflix.nebula.lint.rule.GradleLintRule$1] processing source file [null]

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':lintGradle'.

> java.lang.reflect.InvocationTargetException

* Try:

Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':lintGradle'.

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207)

        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:205)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)

        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)

        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)

        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)

        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)

        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)

        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)

        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:356)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)

        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)

Caused by: org.gradle.internal.UncheckedException: java.lang.reflect.InvocationTargetException

        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:67)

        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)

        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:107)

        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:49)

        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)

        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)

        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:726)

        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:693)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:569)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:554)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:537)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:108)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:278)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:267)

        at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:33)

        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)

        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)

        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67)

        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36)

        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)

        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)

        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)

        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)

        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)

        at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34)

        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)

        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)

        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)

        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)

        at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159)

        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72)

        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43)

        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)

        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)

        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)

        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)

        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)

        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)

        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)

        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)

        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)

        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)

        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)

        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)

        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)

        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)

        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)

        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)

        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)

        at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)

        at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)

        at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:194)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)

        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)

        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)

       at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)

        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)

        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)

        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)

        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:356)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)

        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)

Caused by: java.lang.reflect.InvocationTargetException

        at com.netflix.nebula.lint.rule.dependency.AbstractDuplicateDependencyClassRule.visitClassComplete(AbstractDuplicateDependencyClassRule.groovy:67)

        at com.netflix.nebula.lint.rule.CompositeGroovyAstVisitor$_visitClass_closure2.doCall(CompositeGroovyAstVisitor.groovy:106)

        at com.netflix.nebula.lint.rule.CompositeGroovyAstVisitor.visitClass(CompositeGroovyAstVisitor.groovy:106)

        at com.netflix.nebula.lint.org.codenarc.rule.AbstractAstVisitorRule.applyTo(AbstractAstVisitorRule.java:97)

        at com.netflix.nebula.lint.org.codenarc.rule.AbstractRule.applyTo(AbstractRule.java:142)

        at com.netflix.nebula.lint.org.codenarc.rule.Rule$applyTo$0.call(Unknown Source)

        at com.netflix.nebula.lint.rule.GradleLintRule.applyTo(GradleLintRule.groovy:197)

        at com.netflix.nebula.lint.org.codenarc.rule.Rule$applyTo$0.call(Unknown Source)

        at com.netflix.nebula.lint.org.codenarc.rule.Rule$applyTo$0.call(Unknown Source)

        at com.netflix.nebula.lint.org.codenarc.analyzer.AbstractSourceAnalyzer.collectViolations(AbstractSourceAnalyzer.groovy:40)

        at com.netflix.nebula.lint.plugin.LintService$ReportableAnalyzer.analyze(LintService.groovy:58)

        at com.netflix.nebula.lint.plugin.LintService$ReportableAnalyzer$analyze.call(Unknown Source)

        at com.netflix.nebula.lint.plugin.LintService$_lint_closure5.doCall(LintService.groovy:129)

        at com.netflix.nebula.lint.plugin.LintService.lint(LintService.groovy:118)

        at com.netflix.nebula.lint.plugin.LintService$lint.call(Unknown Source)

        at com.netflix.nebula.lint.plugin.LintGradleTask.lint(LintGradleTask.groovy:47)

        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)

        ... 91 more

Caused by: java.io.FileNotFoundException: D:\Git\project-directory\composite-build-project-directory\build\classes\java\main (Access is denied)

        at com.netflix.nebula.lint.rule.dependency.DependencyService.memoizedMethodPriv$jarContentsFile(DependencyService.groovy:209)

        at com.netflix.nebula.lint.rule.dependency.DependencyService$_closure2.doCall(DependencyService.groovy)

        at com.netflix.nebula.lint.rule.dependency.DependencyService.jarContents(DependencyService.groovy)

        at com.netflix.nebula.lint.rule.dependency.DependencyService$jarContents$13.callCurrent(Unknown Source)

        at com.netflix.nebula.lint.rule.dependency.DependencyService.jarContents(DependencyService.groovy:182)

        at com.netflix.nebula.lint.rule.dependency.DuplicateDependencyService.violationsForModule(DuplicateDependencyService.kt:29)

        at com.netflix.nebula.lint.rule.dependency.DuplicateDependencyService.violationsForModules(DuplicateDependencyService.kt:21)

        ... 108 more
hazemkmammu

comment created time in 21 days

issue openednebula-plugins/gradle-lint-plugin

FileNotFoundException - Access Denied when running fixGradleLint

The fixGradleLint task is failing with the following exception every time. I am not sure if it's related to #263 but it could be.

COMPONENT VERSION/TYPE
OS Microsoft Windows 10 Pro (Version 1909 - OS Build 18363.900)
Gradle 6.5.1
gradle-lint-plugin 16.9.1
Java OpenJDK 64-Bit Server VM build 1.8.0_252-b14, mixed mode (Zulu 8.46.0.19-CA-win64)
D:\Git\project-directory>gradlew :fixGradleLint --stacktrace

> Task :fixGradleLint FAILED

Error from [com.netflix.nebula.lint.rule.GradleLintRule$1] processing source file [null]

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':fixGradleLint'.

> java.lang.reflect.InvocationTargetException


* Try:

Run with --info or --debug option to get more log output. Run with --scan to get full insights.


* Exception is:

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':fixGradleLint'.

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207)

       at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:205)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)

        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)

        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)

        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)

        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)

        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)

        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)

        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:356)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)

        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)

Caused by: org.gradle.internal.UncheckedException: java.lang.reflect.InvocationTargetException

        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:67)

        at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)

        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:107)

        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:49)

        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)

        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)

        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:726)

        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:693)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:569)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:554)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:537)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:108)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:278)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:267)

        at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:33)

        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)

        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)

        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67)

        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36)

        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)

        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)

        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)

        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)

        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)

        at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34)

        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)

        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)

        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)

        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)

        at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159)

        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72)

        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43)

        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)

        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)

        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)

        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)

        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)

        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)

        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)

        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)

        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)

        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)

        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)

        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)

        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)

        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)

        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)

        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)

        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)

        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)

        at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)

        at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)

        at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:194)

        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186)

        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)

        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)

        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)

        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)

        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)

        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94)

        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)

        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)

        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:356)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)

        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)

        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)

        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)

Caused by: java.lang.reflect.InvocationTargetException

        at com.netflix.nebula.lint.rule.dependency.AbstractDuplicateDependencyClassRule.visitClassComplete(AbstractDuplicateDependencyClassRule.groovy:67)

        at com.netflix.nebula.lint.rule.CompositeGroovyAstVisitor$_visitClass_closure2.doCall(CompositeGroovyAstVisitor.groovy:106)

        at com.netflix.nebula.lint.rule.CompositeGroovyAstVisitor.visitClass(CompositeGroovyAstVisitor.groovy:106)

        at com.netflix.nebula.lint.org.codenarc.rule.AbstractAstVisitorRule.applyTo(AbstractAstVisitorRule.java:97)

        at com.netflix.nebula.lint.org.codenarc.rule.AbstractRule.applyTo(AbstractRule.java:142)

        at com.netflix.nebula.lint.org.codenarc.rule.Rule$applyTo$0.call(Unknown Source)

        at com.netflix.nebula.lint.rule.GradleLintRule.applyTo(GradleLintRule.groovy:197)

       at com.netflix.nebula.lint.org.codenarc.rule.Rule$applyTo$0.call(Unknown Source)

        at com.netflix.nebula.lint.org.codenarc.rule.Rule$applyTo$0.call(Unknown Source)

        at com.netflix.nebula.lint.org.codenarc.analyzer.AbstractSourceAnalyzer.collectViolations(AbstractSourceAnalyzer.groovy:40)

        at com.netflix.nebula.lint.plugin.LintService$ReportableAnalyzer.analyze(LintService.groovy:58)

        at com.netflix.nebula.lint.plugin.LintService$ReportableAnalyzer$analyze.call(Unknown Source)

        at com.netflix.nebula.lint.plugin.LintService$_lint_closure5.doCall(LintService.groovy:129)

        at com.netflix.nebula.lint.plugin.LintService.lint(LintService.groovy:118)

        at com.netflix.nebula.lint.plugin.LintService$lint.call(Unknown Source)

        at com.netflix.nebula.lint.plugin.FixGradleLintTask.lintCorrections(FixGradleLintTask.groovy:60)

        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)

        ... 91 more

Caused by: java.io.FileNotFoundException: D:\Git\project-directory\composite-build-project-directory\build\classes\java\main (Access is denied)

        at com.netflix.nebula.lint.rule.dependency.DependencyService.memoizedMethodPriv$jarContentsFile(DependencyService.groovy:209)

        at com.netflix.nebula.lint.rule.dependency.DependencyService$_closure2.doCall(DependencyService.groovy)

        at com.netflix.nebula.lint.rule.dependency.DependencyService.jarContents(DependencyService.groovy)

        at com.netflix.nebula.lint.rule.dependency.DependencyService$jarContents$13.callCurrent(Unknown Source)

        at com.netflix.nebula.lint.rule.dependency.DependencyService.jarContents(DependencyService.groovy:182)

        at com.netflix.nebula.lint.rule.dependency.DuplicateDependencyService.violationsForModule(DuplicateDependencyService.kt:29)

        at com.netflix.nebula.lint.rule.dependency.DuplicateDependencyService.violationsForModules(DuplicateDependencyService.kt:21)

created time in 21 days

startednebula-plugins/gradle-lint-plugin

started time in 21 days

pull request commentnebula-plugins/gradle-dependency-lock-plugin

Verifier safely handles projects

Coverage Status

Coverage increased (+0.4%) to 72.106% when pulling 5f6369c090a5429bc715ad12012f30c6201e62f3 on verifier-safely-handles-projects into fe53f61278057cf6fa2f0fc31f409db0fdba5f70 on master.

OdysseusLives

comment created time in 21 days

PR opened nebula-plugins/gradle-dependency-lock-plugin

Verifier safely handles projects

Dependency resolution verifier runs:

  • after a build finishes, if it failed
  • after a task of type AbstractCompile, DependencyReportTask, or DependencyInsightReportTask completes

and it will share info about dependencies which failed to resolve or are missing versions

and is safe across project boundaries

It's also now in Kotlin

+586 -327

0 comment

6 changed files

pr created time in 21 days

startednebula-plugins/gradle-lint-plugin

started time in 21 days

fork PintoK/gradle-lint-plugin

A pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts.

fork in 21 days

startednebula-plugins/gradle-dependency-lock-plugin

started time in 23 days

issue commentnebula-plugins/nebula-publishing-plugin

testcompile dependencies are not part of generated pom.xml from nebula maven publication

Thank you @rpalcolea . Your kind information helped me to go forward. will look at Gradle Test Fixtures for neat solution.

kalaiarasan231

comment created time in 24 days

issue closednebula-plugins/nebula-publishing-plugin

testcompile dependencies are not part of generated pom.xml from nebula maven publication

Apart from scope test, dependencies from compile and runtime are properly coming in generated pom.xml. Is there a way to include test dependencies as well? For some reason, have to use gradle 4.10.2, knowingly it is old now. can some one help me on this?

apply plugin: 'nebula.maven-publish'

group="gradle-lib-nexus" version="2.0"

dependencies { // This dependency is exported to consumers, that is to say found on their compile classpath. compile 'org.apache.commons:commons-math3:3.+'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
compile 'com.google.guava:guava:22.+'  // This looks good along with above one.

// Use JUnit test framework
 testCompile 'junit:junit:4.12'                 // **Not part of generated POM**

}

Deployment as: /* the below is for publishing individual artifacts */ publishing { repositories { maven { credentials { username "$nexusUser" password "$nexusPassword" } url "repo" } } }

POM contains: ( Need Junit dependency also to be added as scope test - is there a way ? ) <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>gradle-lib-nexus</groupId> <artifactId>gradle-lib-nexus</artifactId> <version>2.0</version> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>22.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> <version>3.6.1</version> <scope>compile</scope> </dependency> </dependencies> <name>gradle-lib-nexus</name> <description/> </project>

closed time in 24 days

kalaiarasan231

issue commentnebula-plugins/nebula-publishing-plugin

testcompile dependencies are not part of generated pom.xml from nebula maven publication

Hi,

I don't think we have ergonomics in the plugin to publish those automatically. We usually recommend folks to publish common test libraries as another module or use Gradle Test Fixtures. More info in https://docs.gradle.org/current/userguide/java_testing.html#publishing_test_fixtures.

However, test fixtures are only available in Gradle 5.6+

We recommend that because the POM really only needs compile/runtime dependencies. Fixtures seem like a better fit for your use case

One thing that you could do is modify the XML yourself via gradle api and read the dependencies from the test configuration and attach them, but that would make your POM file to contain the test dependencies in there, so you have to make sure you add them with the test scope to avoid consumers pulling those automatically

I guess you could do something like this:

project.afterEvaluate {
    project.publishing {
        publications {
            withType(MavenPublication) {
                pom.withXml { XmlProvider xml ->
                    project.plugins.withType(JavaBasePlugin) {
                        def dependencies = xml.asNode()?.dependencies?.dependency
                        project.configurations.test.resolvedConfiguration.firstLevelModuleDependencies.each { dep ->
                            Node dependency = new Node(null, 'dependency')
                            dependency.appendNode('groupId', dep.moduleGroup)
                            dependency.appendNode('artifactId', dep.moduleName)
                            dependency.appendNode('version', dep.moduleVersion)
                            dependency.appendNode('scope', 'test')
                            dependencies.append(dependency)
                        }
                    }
                }
            }
        }
    }
}

I don't know if that will work but you can give it a shot. Notice that this will add all dependencies in the configuration... so this could be a huge number of them

Again, I'd recommend upgrade and start using Gradle Test Fixtures

I'll close this issue as there is nothing we can do on nebula publishing plugin side for this

kalaiarasan231

comment created time in 24 days

issue openednebula-plugins/nebula-publishing-plugin

testcompile dependencies are not part of generated pom.xml from nebula maven publication

Apart from scope test, dependencies from compile and runtime are properly coming in generated pom.xml. Is there a way to include test dependencies as well? For some reason, have to use gradle 4.10.2, knowingly it is old now. can some one help me on this?

apply plugin: 'nebula.maven-publish'

group="gradle-lib-nexus" version="2.0"

dependencies { // This dependency is exported to consumers, that is to say found on their compile classpath. api 'org.apache.commons:commons-math3:3.+'

// This dependency is used internally, and not exposed to consumers on their own compile classpath.
compile 'com.google.guava:guava:22.+'

// Use JUnit test framework
//testImplementation 'junit:junit:4.12'
 testCompile 'junit:junit:4.12'

}

Deployment as: /* the below is for publishing individual artifacts */ publishing { repositories { maven { credentials { username "$nexusUser" password "$nexusPassword" } url "repo" } } }

created time in 24 days

created tagnebula-plugins/gradle-dependency-lock-plugin

tagv9.3.0

A plugin to allow people using dynamic dependency versions to lock them to specific versions.

created time in 24 days

release nebula-plugins/gradle-dependency-lock-plugin

v9.3.0

released time in 24 days

delete branch nebula-plugins/gradle-dependency-lock-plugin

delete branch : exclude-pmd-from-global-locks

delete time in 24 days

push eventnebula-plugins/gradle-dependency-lock-plugin

Roberto Perez Alcolea

commit sha 813d48d5b11912a17865da997ba7ce4f522b051a

DependencyLockTaskConfigurer: add pmd to ignored configurations in global locks

view details

Roberto Perez Alcolea

commit sha fe53f61278057cf6fa2f0fc31f409db0fdba5f70

Merge pull request #196 from nebula-plugins/exclude-pmd-from-global-locks DependencyLockTaskConfigurer: add pmd to ignored configurations in global locks

view details

push time in 24 days

more