unbroken-dome / gradle-testsets-plugin

A plugin for the Gradle build system that allows specifying test sets (like integration or acceptance tests).
MIT License
230 stars 50 forks source link

Broken in gradle 8.2.1 #135

Open alphafoobar opened 1 year ago

alphafoobar commented 1 year ago

Could not create task ':contractTestJar'. 'void org.gradle.api.tasks.bundling.Jar.setClassifier(java.lang.String)'

Caused by: java.lang.NoSuchMethodError: 'void org.gradle.api.tasks.bundling.Jar.setClassifier(java.lang.String)' at org.unbrokendome.gradle.plugins.testsets.TestSetsPlugin$addJarTaskFromTestSet$1.invoke(TestSetsPlugin.kt:133) at org.unbrokendome.gradle.plugins.testsets.TestSetsPlugin$addJarTaskFromTestSet$1.invoke(TestSetsPlugin.kt:33) at org.unbrokendome.gradle.plugins.testsets.util.ProjectExtensionsKt$sam$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:68) at org.gradle.api.internal.DefaultCollectionCallbackActionDecorator$BuildOperationEmittingAction.execute(DefaultCollectionCallbackActionDecorator.java:107) at org.gradle.internal.ImmutableActionSet$SetWithManyActions.execute(ImmutableActionSet.java:329) at org.gradle.api.internal.DefaultDomainObjectCollection.doAdd(DefaultDomainObjectCollection.java:262) at org.gradle.api.internal.DefaultNamedDomainObjectCollection.doAdd(DefaultNamedDomainObjectCollection.java:113) at org.gradle.api.internal.DefaultDomainObjectCollection.add(DefaultDomainObjectCollection.java:256) at org.gradle.api.internal.DefaultNamedDomainObjectCollection$AbstractDomainObjectCreatingProvider.tryCreate(DefaultNamedDomainObjectCollection.java:944) ... 150 more

rkrisztian commented 1 year ago

Looks like a duplicate of https://github.com/unbroken-dome/gradle-testsets-plugin/issues/131