Fix subproject setup for sonar plugin #216
build-and-publish.yaml
on: push
Java Gradle
/
...
/
Build
4m 9s
Java Gradle
/
...
/
Asses code quality
0s
Java Gradle
/
Publish
0s
Java Gradle
/
Publish plugin
0s
Java Gradle
/
Create Github release
0s
Annotations
2 errors and 1 warning
SonarPluginIT.testMultiModuleProject(Path):
sonar/src/test/kotlin/com/bakdata/gradle/SonarPluginIT.kt#L118
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit14350511001012984151 with arguments [sonarqube, -Dsonar.scanner.dumpToFile=/tmp/junit14350511001012984151/dump, --stacktrace, --info]
Output:
The client will now receive all logging from the daemon (pid: 2229). The daemon log file: /home/runner/work/gradle-plugins/gradle-plugins/sonar/build/tmp/test/work/.gradle-test-kit/test-kit-daemon/8.4/daemon-2229.out.log
Starting 2nd build in daemon [uptime: 1 mins 22.63 secs, performance: 99%, GC rate: 0.00/s, heap usage: 0% of 512 MiB, non-heap usage: 35% of 384 MiB]
Using 4 worker leases.
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Now considering [/tmp/junit14350511001012984151, /tmp/junit3222849634281328046] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Compiling settings file '/tmp/junit14350511001012984151/settings.gradle' using SubsetScriptTransformer.
Compiling settings file '/tmp/junit14350511001012984151/settings.gradle' using BuildScriptTransformer.
Settings evaluated using settings file '/tmp/junit14350511001012984151/settings.gradle'.
Projects loaded. Root project using build file '/tmp/junit14350511001012984151/build.gradle.kts'.
Included projects: [root project 'junit14350511001012984151', project ':child1', project ':child2']
> Configure project :
Evaluating root project 'junit14350511001012984151' using build file '/tmp/junit14350511001012984151/build.gradle.kts'.
Caching disabled for Kotlin DSL plugin specs accessors for classpath 'b9688cd06edd31b5bac45f0f5c2423b0' because:
Build cache is disabled
Skipping Kotlin DSL plugin specs accessors for classpath 'b9688cd06edd31b5bac45f0f5c2423b0' as it is up-to-date.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because:
Build cache is disabled
Kotlin DSL script compilation (Project/TopLevel/stage1) is not up-to-date because:
No history is available.
The 'sonarqube' task depends on compile tasks. This behavior is now deprecated and will be removed in version 5.x. To avoid implicit compilation, set property 'sonar.gradle.skipCompile' to 'true' and make sure your project is compiled, before analysis has started.
The 'sonar' task depends on compile tasks. This behavior is now deprecated and will be removed in version 5.x. To avoid implicit compilation, set property 'sonar.gradle.skipCompile' to 'true' and make sure your project is compiled, before analysis has started.
Caching disabled for Kotlin DSL accessors for root project 'junit14350511001012984151' because:
Build cache is disabled
Kotlin DSL accessors for root project 'junit14350511001012984151' is not up-to-date because:
No history is available.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because:
Build cache is disabled
Kotlin DSL script compilation (Project/TopLevel/stage2) is not up-to-date because:
No history is available.
Found java component in project ':child1'. Adding jacoco and wiring to sonarqube.
Found java component in project ':child2'. Adding jacoco and wiring to sonarqube.
> Configure project :child1
Evaluating project ':child1' using build file '/tmp/junit14350511001012984151/child1/build.gradle'.
> Configure project :child2
Evaluating project ':child2' using build file '/tmp/junit14350511001012984151/child2/build.gradle'.
All projects evaluated.
Task name matched 'sonarqube'
Selected primary task 'sonarqube' from project :
Tasks to be executed: [task ':child1:compileJava', task ':child1:processResources', task ':child1:classes', task ':child1:compileTestJava', task ':child1:processTestResources', task ':child1:testClasses', task ':child1:test', task ':child1:jacocoTestReport', task ':child2:compileJava', task ':child2:processResources', task ':child2:classes', task ':child2:compileTestJava', task ':child2:processTestResources', task ':child2:testClasses', task ':child2:test', task ':child2:jacocoTestReport', task ':sonarqube']
Tasks that were excluded: []
Resolve mutations for :child1:compileJava (Thread[Execution worker,5,main]) started.
:child1:compileJava (Thread[Execution worker,5,main]) started.
> Task :child1:compileJava NO-SOURCE
Watching 1 directories to track changes
Skipping task ':child1:compileJava' as it has no source files and no previous output files.
Resolve mutations for :child1:processResources (Thread[Execution worker,5,main]) started.
:child1:processResources (Thread[Execution worker,5,main]) started.
> Task :child1:processResources NO-SOURCE
Watching 1 directories to track changes
Skipping task ':child1:processResources' as it has no source files and no previous output files.
Resolve mutations for :child1:classes (Thread[Execution worker,5,main]) started.
:child1:classes (Thread[Execution worker,5,main]) started.
> Task :child1:classes UP-TO-DATE
Skipping task ':child1:classes' as it has no actions.
Resolve mutations for :child1:compileTestJava (Thread[Execution worker,5,main]) started.
:child1:compileTestJava (Thread[Execution worker,5,main]) started.
Watching 4 directories to track changes
> Task :child1:compileTestJava
Watching 2 directories to track changes
Watching 3 directories to track changes
Watching 4 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Caching disabled for task ':child1:compileTestJava' because:
Build cache is disabled
Task ':child1:compileTestJava' is not up-to-date because:
No history is available.
The input changes require a full rebuild for incremental task ':child1:compileTestJava'.
Watching 5 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Watching 5 directories to track changes
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain '/usr/lib/jvm/temurin-11-jdk-amd64'.
Compiling with JDK Java compiler API.
Class dependency analysis for incremental compilation took 0.007 secs.
Created classpath snapshot for incremental compilation in 0.035 secs.
Watching 5 directories to track changes
Watching 6 directories to track changes
Watching 7 directories to track changes
Watching 8 directories to track changes
Resolve mutations for :child1:processTestResources (Thread[Execution worker,5,main]) started.
:child1:processTestResources (Thread[Execution worker,5,main]) started.
> Task :child1:processTestResources NO-SOURCE
Watching 9 directories to track changes
Skipping task ':child1:processTestResources' as it has no source files and no previous output files.
Resolve mutations for :child1:testClasses (Thread[Execution worker,5,main]) started.
:child1:testClasses (Thread[Execution worker,5,main]) started.
> Task :child1:testClasses
Skipping task ':child1:testClasses' as it has no actions.
Resolve mutations for :child1:test (Thread[Execution worker,5,main]) started.
:child1:test (Thread[Execution worker,5,main]) started.
Gradle Test Executor 2 started executing tests.
> Task :child1:test
Watching 10 directories to track changes
Watching 10 directories to track changes
Watching 10 directories to track changes
Watching 10 directories to track changes
Watching 11 directories to track changes
Watching 11 directories to track changes
Caching disabled for task ':child1:test' because:
Build cache is disabled
Task ':child1:test' is not up-to-date because:
No history is available.
Watching 11 directories to track changes
Watching 11 directories to track changes
Watching 11 directories to track changes
Starting process 'Gradle Test Executor 2'. Working directory: /tmp/junit14350511001012984151/child1 Command: /usr/lib/jvm/temurin-11-jdk-amd64/bin/java -Djava.util.logging.config.file=src/test/resources/logging.properties -Dorg.gradle.internal.worker.tmpdir=/tmp/junit14350511001012984151/child1/build/tmp/test/work -Dorg.gradle.native=false -javaagent:/tmp/junit14350511001012984151/child1/build/tmp/.cache/expanded/zip_cde35f471dab581134460fc9a50e2c59/jacocoagent.jar=destfile=build/jacoco/test.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false @/home/runner/work/gradle-plugins/gradle-plugins/sonar/build/tmp/test/work/.gradle-test-kit/.tmp/gradle-worker-classpath11093964138769670988txt -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 2'
Successfully started process 'Gradle Test Executor 2'
Gradle Test Executor 2 finished executing tests.
> Task :child1:test
Finished generating test XML results (0.013 secs) into: /tmp/junit14350511001012984151/child1/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.003 secs) into: /tmp/junit14350511001012984151/child1/build/reports/tests/test
Watching 12 directories to track changes
Watching 13 directories to track changes
Watching 18 directories to track changes
Watching 19 directories to track changes
Resolve mutations for :child1:jacocoTestReport (Thread[Execution worker,5,main]) started.
:child1:jacocoTestReport (Thread[Execution worker,5,main]) started.
> Task :child1:jacocoTestReport
Watching 20 directories to track changes
Watching 20 directories to track changes
Caching disabled for task ':child1:jacocoTestReport' because:
Build cache is disabled
Task ':child1:jacocoTestReport' is not up-to-date because:
No history is available.
Watching 20 directories to track changes
Watching 19 directories to track changes
[ant:jacocoReport] Loading execution data file /tmp/junit14350511001012984151/child1/build/jacoco/test.exec
[ant:jacocoReport] Writing bundle 'child1' with 0 classes
Watching 21 directories to track changes
Watching 22 directories to track changes
Resolve mutations for :child2:compileJava (Thread[Execution worker,5,main]) started.
:child2:compileJava (Thread[Execution worker,5,main]) started.
> Task :child2:compileJava NO-SOURCE
Watching 23 directories to track changes
Skipping task ':child2:compileJava' as it has no source files and no previous output files.
Resolve mutations for :child2:processResources (Thread[Execution worker,5,main]) started.
:child2:processResources (Thread[Execution worker,5,main]) started.
> Task :child2:processResources NO-SOURCE
Watching 23 directories to track changes
Skipping task ':child2:processResources' as it has no source files and no previous output files.
Resolve mutations for :child2:classes (Thread[Execution worker,5,main]) started.
:child2:classes (Thread[Execution worker,5,main]) started.
> Task :child2:classes UP-TO-DATE
Skipping task ':child2:classes' as it has no actions.
Resolve mutations for :child2:compileTestJava (Thread[Execution worker,5,main]) started.
:child2:compileTestJava (Thread[Execution worker Thread 2,5,main]) started.
Watching 24 directories to track changes
> Task :child2:compileTestJava
Watching 24 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Caching disabled for task ':child2:compileTestJava' because:
Build cache is disabled
Task ':child2:compileTestJava' is not up-to-date because:
No history is available.
The input changes require a full rebuild for incremental task ':child2:compileTestJava'.
Watching 25 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Watching 25 directories to track changes
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain '/usr/lib/jvm/temurin-11-jdk-amd64'.
Compiling with JDK Java compiler API.
Class dependency analysis for incremental compilation took 0.0 secs.
Created classpath snapshot for incremental compilation in 0.001 secs.
Watching 25 directories to track changes
Watching 26 directories to track changes
Watching 27 directories to track changes
Watching 28 directories to track changes
Resolve mutations for :child2:processTestResources (Thread[Execution worker,5,main]) started.
:child2:processTestResources (Thread[Execution worker,5,main]) started.
> Task :child2:processTestResources NO-SOURCE
Watching 29 directories to track changes
Skipping task ':child2:processTestResources' as it has no source files and no previous output files.
Resolve mutations for :child2:testClasses (Thread[Execution worker,5,main]) started.
:child2:testClasses (Thread[Execution worker,5,main]) started.
> Task :child2:testClasses
Skipping task ':child2:testClasses' as it has no actions.
Resolve mutations for :child2:test (Thread[Execution worker,5,main]) started.
:child2:test (Thread[Execution worker,5,main]) started.
Gradle Test Executor 3 started executing tests.
Gradle Test Executor 3 finished executing tests.
> Task :child2:test
Watching 30 directories to track changes
Watching 30 directories to track changes
Watching 30 directories to track changes
Watching 30 directories to track changes
Watching 31 directories to track changes
Watching 31 directories to track changes
Caching disabled for task ':child2:test' because:
Build cache is disabled
Task ':child2:test' is not up-to-date because:
No history is available.
Watching 31 directories to track changes
Watching 31 directories to track changes
Watching 31 directories to track changes
Starting process 'Gradle Test Executor 3'. Working directory: /tmp/junit14350511001012984151/child2 Command: /usr/lib/jvm/temurin-11-jdk-amd64/bin/java -Djava.util.logging.config.file=src/test/resources/logging.properties -Dorg.gradle.internal.worker.tmpdir=/tmp/junit14350511001012984151/child2/build/tmp/test/work -Dorg.gradle.native=false -javaagent:/tmp/junit14350511001012984151/child2/build/tmp/.cache/expanded/zip_cde35f471dab581134460fc9a50e2c59/jacocoagent.jar=destfile=build/jacoco/test.exec,append=true,inclnolocationclasses=false,dumponexit=true,output=file,jmx=false @/home/runner/work/gradle-plugins/gradle-plugins/sonar/build/tmp/test/work/.gradle-test-kit/.tmp/gradle-worker-classpath13997911106073660266txt -Xmx512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 3'
Successfully started process 'Gradle Test Executor 3'
Finished generating test XML results (0.001 secs) into: /tmp/junit14350511001012984151/child2/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.002 secs) into: /tmp/junit14350511001012984151/child2/build/reports/tests/test
Watching 32 directories to track changes
Watching 33 directories to track changes
Watching 38 directories to track changes
Watching 39 directories to track changes
Resolve mutations for :child2:jacocoTestReport (Thread[Execution worker,5,main]) started.
:child2:jacocoTestReport (Thread[Execution worker,5,main]) started.
> Task :child2:jacocoTestReport
Watching 40 directories to track changes
Watching 40 directories to track changes
Caching disabled for task ':child2:jacocoTestReport' because:
Build cache is disabled
Task ':child2:jacocoTestReport' is not up-to-date because:
No history is available.
Watching 40 directories to track changes
Watching 39 directories to track changes
[ant:jacocoReport] Loading execution data file /tmp/junit14350511001012984151/child2/build/jacoco/test.exec
[ant:jacocoReport] Writing bundle 'child2' with 0 classes
Watching 41 directories to track changes
Watching 42 directories to track changes
Resolve mutations for :sonarqube (Thread[Execution worker Thread 2,5,main]) started.
:sonarqube (Thread[Execution worker Thread 2,5,main]) started.
> Task :sonarqube FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> Could not create task ':jacocoRootReport'.
> Cannot run Project.afterEvaluate(Action) when the project is already evaluated.
* Try:
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':sonarqube'.
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
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.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreationException: Could not create task ':jacocoRootReport'.
at org.gradle.api.internal.tasks.DefaultTaskContainer.taskCreationException(DefaultTaskContainer.java:721)
at org.gradle.api.internal.tasks.DefaultTaskContainer.access$600(DefaultTaskContainer.java:77)
at org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreatingProvider.domainObjectCreationException(DefaultTaskContainer.java:713)
at org.gradle.api.internal.DefaultNamedDomainObjectCollection$AbstractDomainObjectCreatingProvider.tryCreate(DefaultNamedDomainObjectCollection.java:954)
at org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreatingProvider.access$1401(DefaultTaskContainer.java:660)
at org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreatingProvider$1.run(DefaultTaskContainer.java:686)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.DefaultTaskContainer$TaskCreatingProvider.tryCreate(DefaultTaskContainer.java:682)
at org.gradle.api.internal.DefaultNamedDomainObjectCollection$AbstractDomainObjectCreatingProvider.calculateOwnValue(DefaultNamedDomainObjectCollection.java:935)
at org.gradle.api.internal.provider.AbstractMinimalProvider.calculateValue(AbstractMinimalProvider.java:115)
at org.gradle.api.internal.provider.Collectors$ElementFromProvider.collectEntries(Collectors.java:100)
at org.gradle.api.internal.provider.Collectors$TypedCollector.collectEntries(Collectors.java:334)
at org.gradle.api.internal.provider.Collectors$TypedCollector.collectInto(Collectors.java:329)
at org.gradle.api.internal.collections.SortedSetElementSource.realize(SortedSetElementSource.java:140)
at org.gradle.api.internal.collections.SortedSetElementSource.realizePending(SortedSetElementSource.java:131)
at org.gradle.api.internal.collections.FilteredElementSource.iterator(FilteredElementSource.java:157)
at org.gradle.api.internal.collections.FilteredElementSource.size(FilteredElementSource.java:170)
at org.gradle.api.internal.DefaultDomainObjectCollection.size(DefaultDomainObjectCollection.java:408)
at org.gradle.api.internal.DelegatingDomainObjectSet.size(DelegatingDomainObjectSet.java:164)
at kotlin.collections.CollectionsKt__IterablesKt.collectionSizeOrDefault(Iterables.kt:39)
at com.bakdata.gradle.SonarPlugin$apply$1$3$1.execute(SonarPlugin.kt:109)
at com.bakdata.gradle.SonarPlugin$apply$1$3$1.execute(SonarPlugin.kt:98)
at org.sonarqube.gradle.ActionBroadcast.lambda$execute$0(ActionBroadcast.java:36)
at org.sonarqube.gradle.ActionBroadcast.execute(ActionBroadcast.java:36)
at org.sonarqube.gradle.SonarPropertyComputer.evaluateSonarPropertiesBlocks(SonarPropertyComputer.java:162)
at org.sonarqube.gradle.SonarPropertyComputer.computeSonarProperties(SonarPropertyComputer.java:113)
at org.sonarqube.gradle.SonarPropertyComputer.computeSonarProperties(SonarPropertyComputer.java:91)
at org.sonarqube.gradle.SonarQubePlugin.lambda$configureTask$2(SonarQubePlugin.java:101)
at org.gradle.api.internal.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:72)
at org.gradle.api.internal.provider.AbstractMinimalProvider.calculateValue(AbstractMinimalProvider.java:115)
at org.gradle.api.internal.provider.TransformBackedProvider.calculateOwnValue(TransformBackedProvider.java:82)
at org.gradle.api.internal.provider.AbstractMinimalProvider.calculateValue(AbstractMinimalProvider.java:115)
at org.gradle.api.internal.provider.MapCollectors$EntriesFromMapProvider.collectEntries(MapCollectors.java:189)
at org.gradle.api.internal.provider.DefaultMapProperty$CollectingSupplier.calculateValue(DefaultMapProperty.java:444)
at org.gradle.api.internal.provider.DefaultMapProperty.finalValue(DefaultMapProperty.java:247)
at org.gradle.api.internal.provider.DefaultMapProperty.finalValue(DefaultMapProperty.java:37)
at org.gradle.api.internal.provider.AbstractProperty.finalizeNow(AbstractProperty.java:245)
at org.gradle.api.internal.provider.AbstractProperty.beforeRead(AbstractProperty.java:239)
at org.gradle.api.internal.provider.AbstractProperty.calculatePresence(AbstractProperty.java:65)
at org.gradle.api.internal.provider.AbstractMinimalProvider.isPresent(AbstractMinimalProvider.java:90)
at org.gradle.api.internal.tasks.properties.AbstractValidatingProperty.isPresent(AbstractValidatingProperty.java:79)
at org.gradle.api.internal.tasks.properties.AbstractValidatingProperty.validate(AbstractValidatingProperty.java:65)
at org.gradle.api.internal.tasks.properties.DefaultTaskProperties.validate(DefaultTaskProperties.java:151)
at org.gradle.api.internal.tasks.execution.TaskExecution.validate(TaskExecution.java:472)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:78)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:55)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:81)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41)
at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:66)
at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:66)
at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:38)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32)
at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:293)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:47)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:34)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:145)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
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.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: org.gradle.api.InvalidUserCodeException: Cannot run Project.afterEvaluate(Action) when the project is already evaluated.
at org.gradle.api.internal.project.DefaultProject.failAfterProjectIsEvaluated(DefaultProject.java:1098)
at org.gradle.api.internal.project.DefaultProject.afterEvaluate(DefaultProject.java:1079)
at com.bakdata.gradle.SonarPlugin$apply$1$2$1.execute(SonarPlugin.kt:84)
at com.bakdata.gradle.SonarPlugin$apply$1$2$1.execute(SonarPlugin.kt:81)
at org.gradle.api.internal.DefaultMutationGuard$1.execute(DefaultMutationGuard.java:45)
at org.gradle.internal.Actions.with(Actions.java:206)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator$1.run(BuildOperationCrossProjectConfigurator.java:69)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.lambda$runProjectConfigureAction$0(BuildOperationCrossProjectConfigurator.java:66)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$1(DefaultProjectStateRegistry.java:406)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:424)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:405)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.runProjectConfigureAction(BuildOperationCrossProjectConfigurator.java:66)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.access$100(BuildOperationCrossProjectConfigurator.java:32)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator$BlockConfigureBuildOperation.run(BuildOperationCrossProjectConfigurator.java:111)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.runBlockConfigureAction(BuildOperationCrossProjectConfigurator.java:62)
at org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator.subprojects(BuildOperationCrossProjectConfigurator.java:48)
at org.gradle.api.internal.project.DefaultProject.subprojects(DefaultProject.java:754)
at org.gradle.api.internal.project.DefaultProject.subprojects(DefaultProject.java:749)
at com.bakdata.gradle.SonarPlugin$apply$1$2.invoke(SonarPlugin.kt:81)
at com.bakdata.gradle.SonarPlugin$apply$1$2.invoke(SonarPlugin.kt:80)
at com.bakdata.gradle.SonarPlugin$inlined$sam$i$org_gradle_api_Action$0.execute(ProjectExtensions.kt)
at org.gradle.api.internal.DefaultMutationGuard$1.execute(DefaultMutationGuard.java:45)
at org.gradle.api.internal.DefaultMutationGuard$1.execute(DefaultMutationGuard.java:45)
at org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication$1.execute(DefaultUserCodeApplicationContext.java:123)
at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction$1.run(DefaultCollectionCallbackActionDecorator.java:110)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction.execute(DefaultCollectionCallbackActionDecorator.java:107)
at org.gradle.internal.ImmutableActionSet$SetWithFewActions.execute(ImmutableActionSet.java:285)
at org.gradle.api.internal.DefaultDomainObjectCollection.doAdd(DefaultDomainObjectCollection.java:262)
at org.gradle.api.internal.DefaultNamedDomainObjectCollection.doAdd(DefaultNamedDomainObjectCollection.java:114)
at org.gradle.api.internal.DefaultDomainObjectCollection.add(DefaultDomainObjectCollection.java:256)
at org.gradle.api.internal.DefaultNamedDomainObjectCollection$AbstractDomainObjectCreatingProvider.tryCreate(DefaultNamedDomainObjectCollection.java:950)
... 103 more
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 8s
7 actionable tasks: 7 executed
|
Java Gradle / Build, Test and Assess code quality / Test
Process completed with exit code 1.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "build-artifact".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-artifact
Expired
|
1.34 MB |
|