MarathonLabs / marathon

Cross-platform test runner
https://docs.marathonlabs.io
GNU General Public License v2.0
584 stars 121 forks source link

Jackson java.lang.NoSuchMethodError - Execution failed for task ':subproject:marathonDebugAndroidTestGenerateMarathonfile'. #770

Open ZakTaccardi opened 1 year ago

ZakTaccardi commented 1 year ago

After bumping to Marathon 0.8.0 from 0.7.6 - seeing:

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

Caused by: java.lang.NoSuchMethodError: 'void com.malinskiy.marathon.config.serialization.ConfigurationFactory.<init>(java.io.File, com.malinskiy.marathon.config.environment.EnvironmentReader, com.malinskiy.marathon.shadow.com.fasterxml.jackson.databind.ObjectMapper, org.apache.commons.text.StringSubstitutor, int, kotlin.jvm.internal.DefaultConstructorMarker)'

We're on Gradle 8.0 (which leverages Kotlin 1.8.10), and here's the output of our ./gradlew buildEnvironment

classpath
+--- com.android.tools:r8:3.3.75
+--- com.android.tools.build:gradle:7.4.2
|    +--- com.android.tools.build:gradle-settings-api:7.4.2
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10
|    |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10
|    |         |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.10
|    |         |    \--- org.jetbrains:annotations:13.0
|    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.10
|    |              \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 (*)
|    +--- com.android.tools:sdk-common:30.4.2
|    |    +--- com.android.tools.analytics-library:shared:30.4.2
|    |    |    +--- com.android.tools.analytics-library:protos:30.4.2
|    |    |    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    |    |    +--- com.android.tools:annotations:30.4.2
|    |    |    +--- com.android.tools:common:30.4.2
|    |    |    |    +--- com.android.tools:annotations:30.4.2
|    |    |    |    +--- com.google.guava:guava:30.1-jre
|    |    |    |    |    +--- com.google.guava:failureaccess:1.0.1
|    |    |    |    |    +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
|    |    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    |    +--- org.checkerframework:checker-qual:3.5.0
|    |    |    |    |    +--- com.google.errorprone:error_prone_annotations:2.3.4 -> 2.4.0
|    |    |    |    |    \--- com.google.j2objc:j2objc-annotations:1.3
|    |    |    |    +--- net.java.dev.jna:jna-platform:5.6.0
|    |    |    |    |    \--- net.java.dev.jna:jna:5.6.0
|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    |    +--- com.google.code.gson:gson:2.8.9 -> 2.9.0
|    |    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    |    +--- net.java.dev.jna:jna-platform:5.6.0 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    +--- com.android.tools.build:aapt2-proto:7.4.2-8841542
|    |    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    |    +--- com.android.tools:common:30.4.2 (*)
|    |    +--- com.android.tools.ddms:ddmlib:30.4.2
|    |    |    +--- com.android.tools:common:30.4.2 (*)
|    |    |    +--- com.google.protobuf:protobuf-java:3.17.2
|    |    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    |    \--- org.jetbrains:annotations:13.0
|    |    +--- com.android.tools.layoutlib:layoutlib-api:30.4.2
|    |    |    +--- com.android.tools:annotations:30.4.2
|    |    |    +--- com.android.tools:common:30.4.2 (*)
|    |    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    |    \--- org.jetbrains:annotations:13.0
|    |    +--- com.android.tools:sdklib:30.4.2
|    |    |    +--- com.android.tools:repository:30.4.2
|    |    |    |    +--- com.android.tools.analytics-library:shared:30.4.2 (*)
|    |    |    |    +--- com.android.tools:common:30.4.2 (*)
|    |    |    |    +--- com.google.jimfs:jimfs:1.1
|    |    |    |    |    \--- com.google.guava:guava:18.0 -> 30.1-jre (*)
|    |    |    |    +--- com.sun.activation:javax.activation:1.2.0
|    |    |    |    +--- org.apache.commons:commons-compress:1.20
|    |    |    |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2
|    |    |    |    |    +--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2
|    |    |    |    |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
|    |    |    |    |    +--- org.glassfish.jaxb:txw2:2.3.2
|    |    |    |    |    +--- com.sun.istack:istack-commons-runtime:3.0.8
|    |    |    |    |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
|    |    |    |    |    +--- org.jvnet.staxex:stax-ex:1.8.1
|    |    |    |    |    |    +--- jakarta.activation:jakarta.activation-api:1.2.1
|    |    |    |    |    |    \--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 (*)
|    |    |    |    |    +--- com.sun.xml.fastinfoset:FastInfoset:1.2.16
|    |    |    |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    |    +--- com.android.tools:common:30.4.2 (*)
|    |    |    +--- com.android.tools:dvlib:30.4.2
|    |    |    |    \--- com.android.tools:common:30.4.2 (*)
|    |    |    +--- com.android.tools.layoutlib:layoutlib-api:30.4.2 (*)
|    |    |    +--- com.google.code.gson:gson:2.8.9 -> 2.9.0
|    |    |    +--- org.apache.commons:commons-compress:1.20
|    |    |    +--- org.apache.httpcomponents:httpcore:4.4.13
|    |    |    +--- org.apache.httpcomponents:httpmime:4.5.6
|    |    |    |    \--- org.apache.httpcomponents:httpclient:4.5.6 -> 4.5.13
|    |    |    |         +--- org.apache.httpcomponents:httpcore:4.4.13
|    |    |    |         +--- commons-logging:commons-logging:1.2
|    |    |    |         \--- commons-codec:commons-codec:1.11 -> 1.15
|    |    |    \--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    |    +--- com.google.code.gson:gson:2.8.9 -> 2.9.0
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- com.google.protobuf:protobuf-java:3.17.2
|    |    +--- javax.inject:javax.inject:1
|    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    +--- org.bouncycastle:bcpkix-jdk15on:1.67
|    |    |    \--- org.bouncycastle:bcprov-jdk15on:1.67
|    |    +--- org.bouncycastle:bcprov-jdk15on:1.67
|    |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20200330
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.7.10 -> 1.8.10
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.10 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    \--- xerces:xercesImpl:2.12.0
|    |         \--- xml-apis:xml-apis:1.4.01
|    +--- com.android.tools:sdklib:30.4.2 (*)
|    +--- com.android.tools:repository:30.4.2 (*)
|    +--- com.android.tools.ddms:ddmlib:30.4.2 (*)
|    +--- com.android.tools.build:aapt2-proto:7.4.2-8841542 (*)
|    +--- com.android.tools.build:aaptcompiler:7.4.2
|    |    +--- com.android.tools.build:aapt2-proto:7.4.2-8841542 (*)
|    |    +--- com.android.tools.layoutlib:layoutlib-api:30.4.2 (*)
|    |    +--- com.android.tools:common:30.4.2 (*)
|    |    +--- com.google.protobuf:protobuf-java:3.17.2
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    +--- com.android.tools.analytics-library:crash:30.4.2
|    |    +--- com.android.tools:annotations:30.4.2
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- org.apache.httpcomponents:httpclient:4.5.13 (*)
|    |    +--- org.apache.httpcomponents:httpcore:4.4.13
|    |    \--- org.apache.httpcomponents:httpmime:4.5.6 (*)
|    +--- com.android.tools.analytics-library:shared:30.4.2 (*)
|    +--- com.android.tools.lint:lint-model:30.4.2
|    |    +--- com.android.tools.build:builder-model:7.4.2
|    |    |    +--- com.android.tools:annotations:30.4.2
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    +--- com.android.tools:common:30.4.2 (*)
|    |    +--- com.android.tools:sdk-common:30.4.2 (*)
|    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    +--- com.android.tools.lint:lint-typedef-remover:30.4.2
|    |    +--- com.android.tools:annotations:30.4.2
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    \--- org.ow2.asm:asm:9.2
|    +--- androidx.databinding:databinding-compiler-common:7.4.2
|    |    +--- androidx.databinding:databinding-common:7.4.2
|    |    +--- com.android.databinding:baseLibrary:7.4.2
|    |    +--- com.android.tools:annotations:30.4.2
|    |    +--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta10
|    |    |    +--- com.google.code.gson:gson:2.8.0 -> 2.9.0
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.71 -> 1.8.10 (*)
|    |    +--- com.google.code.gson:gson:2.8.9 -> 2.9.0
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- com.googlecode.juniversalchardet:juniversalchardet:1.0.3
|    |    +--- com.squareup:javapoet:1.10.0 -> 1.13.0
|    |    +--- commons-io:commons-io:2.4 -> 2.6
|    |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    +--- androidx.databinding:databinding-common:7.4.2
|    +--- com.android.databinding:baseLibrary:7.4.2
|    +--- com.android.tools.build:builder-test-api:7.4.2
|    |    +--- com.android.tools.ddms:ddmlib:30.4.2 (*)
|    |    +--- com.android.tools:annotations:30.4.2
|    |    +--- com.android.tools:common:30.4.2 (*)
|    |    \--- com.google.guava:guava:30.1-jre (*)
|    +--- com.android.tools.layoutlib:layoutlib-api:30.4.2 (*)
|    +--- com.android.tools.utp:android-device-provider-ddmlib-proto:30.4.2
|    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    +--- com.android.tools.utp:android-device-provider-gradle-proto:30.4.2
|    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    +--- com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.4.2
|    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    +--- com.android.tools.utp:android-test-plugin-host-coverage-proto:30.4.2
|    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    +--- com.android.tools.utp:android-test-plugin-host-retention-proto:30.4.2
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    +--- com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.4.2
|    |    +--- io.grpc:grpc-core:1.39.0
|    |    |    +--- io.grpc:grpc-api:1.39.0
|    |    |    |    +--- io.grpc:grpc-context:1.39.0
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    +--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    |    |    \--- com.google.errorprone:error_prone_annotations:2.4.0
|    |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    |    +--- com.google.android:annotations:4.1.1.4
|    |    |    +--- org.codehaus.mojo:animal-sniffer-annotations:1.19
|    |    |    +--- com.google.errorprone:error_prone_annotations:2.4.0
|    |    |    +--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    |    \--- io.perfmark:perfmark-api:0.23.0
|    |    +--- io.grpc:grpc-netty:1.39.0
|    |    |    +--- io.grpc:grpc-core:1.39.0 (*)
|    |    |    +--- io.netty:netty-codec-http2:4.1.52.Final
|    |    |    |    +--- io.netty:netty-common:4.1.52.Final
|    |    |    |    +--- io.netty:netty-buffer:4.1.52.Final
|    |    |    |    |    \--- io.netty:netty-common:4.1.52.Final
|    |    |    |    +--- io.netty:netty-transport:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.52.Final (*)
|    |    |    |    |    \--- io.netty:netty-resolver:4.1.52.Final
|    |    |    |    |         \--- io.netty:netty-common:4.1.52.Final
|    |    |    |    +--- io.netty:netty-codec:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.52.Final (*)
|    |    |    |    |    \--- io.netty:netty-transport:4.1.52.Final (*)
|    |    |    |    +--- io.netty:netty-handler:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-resolver:4.1.52.Final (*)
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.52.Final (*)
|    |    |    |    |    +--- io.netty:netty-transport:4.1.52.Final (*)
|    |    |    |    |    \--- io.netty:netty-codec:4.1.52.Final (*)
|    |    |    |    \--- io.netty:netty-codec-http:4.1.52.Final
|    |    |    |         +--- io.netty:netty-common:4.1.52.Final
|    |    |    |         +--- io.netty:netty-buffer:4.1.52.Final (*)
|    |    |    |         +--- io.netty:netty-transport:4.1.52.Final (*)
|    |    |    |         +--- io.netty:netty-codec:4.1.52.Final (*)
|    |    |    |         \--- io.netty:netty-handler:4.1.52.Final (*)
|    |    |    +--- io.netty:netty-handler-proxy:4.1.52.Final
|    |    |    |    +--- io.netty:netty-common:4.1.52.Final
|    |    |    |    +--- io.netty:netty-buffer:4.1.52.Final (*)
|    |    |    |    +--- io.netty:netty-transport:4.1.52.Final (*)
|    |    |    |    +--- io.netty:netty-codec:4.1.52.Final (*)
|    |    |    |    +--- io.netty:netty-codec-socks:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.52.Final
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.52.Final (*)
|    |    |    |    |    +--- io.netty:netty-transport:4.1.52.Final (*)
|    |    |    |    |    \--- io.netty:netty-codec:4.1.52.Final (*)
|    |    |    |    \--- io.netty:netty-codec-http:4.1.52.Final (*)
|    |    |    +--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    |    +--- com.google.errorprone:error_prone_annotations:2.4.0
|    |    |    \--- io.perfmark:perfmark-api:0.23.0
|    |    +--- io.grpc:grpc-protobuf:1.39.0
|    |    |    +--- io.grpc:grpc-api:1.39.0 (*)
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.protobuf:protobuf-java:3.17.2
|    |    |    +--- com.google.api.grpc:proto-google-common-protos:2.0.1
|    |    |    |    \--- com.google.protobuf:protobuf-java:3.13.0 -> 3.17.2
|    |    |    +--- io.grpc:grpc-protobuf-lite:1.39.0
|    |    |    |    +--- io.grpc:grpc-api:1.39.0 (*)
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    \--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    |    \--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    +--- io.grpc:grpc-stub:1.39.0
|    |    |    +--- io.grpc:grpc-api:1.39.0 (*)
|    |    |    \--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    +--- com.google.code.gson:gson:2.8.9 -> 2.9.0
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- javax.annotation:javax.annotation-api:1.3.2
|    |    \--- com.google.protobuf:protobuf-java:3.17.2
|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    +--- com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api
|    +--- org.apache.httpcomponents:httpmime:4.5.6 (*)
|    +--- commons-io:commons-io:2.4 -> 2.6
|    +--- org.ow2.asm:asm:9.2
|    +--- org.ow2.asm:asm-analysis:9.2
|    |    \--- org.ow2.asm:asm-tree:9.2
|    |         \--- org.ow2.asm:asm:9.2
|    +--- org.ow2.asm:asm-commons:9.2
|    |    +--- org.ow2.asm:asm:9.2
|    |    +--- org.ow2.asm:asm-tree:9.2 (*)
|    |    \--- org.ow2.asm:asm-analysis:9.2 (*)
|    +--- org.ow2.asm:asm-util:9.2
|    |    +--- org.ow2.asm:asm:9.2
|    |    +--- org.ow2.asm:asm-tree:9.2 (*)
|    |    \--- org.ow2.asm:asm-analysis:9.2 (*)
|    +--- org.bouncycastle:bcpkix-jdk15on:1.67 (*)
|    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    +--- net.sf.jopt-simple:jopt-simple:4.9
|    +--- com.android.tools.build:bundletool:1.11.4
|    |    +--- com.android.tools.build:aapt2-proto:7.3.0-alpha07-8248216 -> 7.4.2-8841542 (*)
|    |    +--- com.google.auto.value:auto-value-annotations:1.6.2
|    |    +--- com.google.errorprone:error_prone_annotations:2.3.1 -> 2.4.0
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.17.2
|    |    +--- com.google.protobuf:protobuf-java-util:3.10.0 -> 3.17.2
|    |    |    +--- com.google.protobuf:protobuf-java:3.17.2
|    |    |    +--- com.google.guava:guava:30.1-android -> 30.1-jre (*)
|    |    |    +--- com.google.errorprone:error_prone_annotations:2.3.4 -> 2.4.0
|    |    |    \--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    +--- com.google.dagger:dagger:2.28.3
|    |    |    \--- javax.inject:javax.inject:1
|    |    +--- javax.inject:javax.inject:1
|    |    +--- org.bitbucket.b_c:jose4j:0.7.0
|    |    \--- org.slf4j:slf4j-api:1.7.30 -> 2.0.3
|    +--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta10 (*)
|    +--- com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta10
|    |    +--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta10 (*)
|    |    +--- org.ow2.asm:asm:8.0.1 -> 9.2
|    |    +--- org.ow2.asm:asm-util:8.0.1 -> 9.2 (*)
|    |    +--- org.ow2.asm:asm-commons:8.0.1 -> 9.2 (*)
|    |    +--- org.jdom:jdom2:2.0.6
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.71 -> 1.8.10 (*)
|    +--- com.squareup:javapoet:1.10.0 -> 1.13.0
|    +--- com.google.protobuf:protobuf-java:3.17.2
|    +--- com.google.protobuf:protobuf-java-util:3.17.2 (*)
|    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    +--- io.grpc:grpc-core:1.39.0 (*)
|    +--- io.grpc:grpc-netty:1.39.0 (*)
|    +--- io.grpc:grpc-protobuf:1.39.0 (*)
|    +--- io.grpc:grpc-stub:1.39.0 (*)
|    +--- com.google.crypto.tink:tink:1.3.0-rc2
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.17.2
|    |    \--- org.json:json:20180813
|    +--- com.google.testing.platform:core-proto:0.0.8-alpha08
|    +--- com.google.flatbuffers:flatbuffers-java:1.12.0
|    +--- org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2
|    |    +--- org.checkerframework:checker-qual:2.5.8 -> 3.5.0
|    |    \--- com.google.flatbuffers:flatbuffers-java:1.12.0
|    +--- com.android.tools.build:builder:7.4.2
|    |    +--- com.android.tools.build:builder-model:7.4.2 (*)
|    |    +--- com.android.tools.build:builder-test-api:7.4.2 (*)
|    |    +--- com.android.tools:sdklib:30.4.2 (*)
|    |    +--- com.android.tools:sdk-common:30.4.2 (*)
|    |    +--- com.android.tools:common:30.4.2 (*)
|    |    +--- com.android.tools.ddms:ddmlib:30.4.2 (*)
|    |    +--- com.android:signflinger:7.4.2
|    |    |    +--- com.android.tools:annotations:30.4.2
|    |    |    +--- com.android.tools.build:apksig:7.4.2
|    |    |    \--- com.android:zipflinger:7.4.2
|    |    |         \--- com.android.tools:annotations:30.4.2
|    |    +--- com.android.tools.analytics-library:protos:30.4.2 (*)
|    |    +--- com.android.tools.analytics-library:tracker:30.4.2
|    |    |    +--- com.android.tools.analytics-library:protos:30.4.2 (*)
|    |    |    +--- com.android.tools.analytics-library:shared:30.4.2 (*)
|    |    |    +--- com.android.tools:annotations:30.4.2
|    |    |    +--- com.android.tools:common:30.4.2 (*)
|    |    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    |    +--- com.google.protobuf:protobuf-java:3.17.2
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    +--- com.android.tools.layoutlib:layoutlib-api:30.4.2 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    +--- org.bouncycastle:bcpkix-jdk15on:1.67 (*)
|    |    +--- commons-codec:commons-codec:1.10 -> 1.15
|    |    +--- org.bouncycastle:bcprov-jdk15on:1.67
|    |    +--- javax.inject:javax.inject:1
|    |    +--- org.ow2.asm:asm-commons:9.2 (*)
|    |    +--- com.android.tools.build:manifest-merger:30.4.2
|    |    |    +--- com.android.tools:common:30.4.2 (*)
|    |    |    +--- com.android.tools:sdklib:30.4.2 (*)
|    |    |    +--- com.android.tools:sdk-common:30.4.2 (*)
|    |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|    |    |    \--- net.sf.kxml:kxml2:2.3.0
|    |    +--- com.android:zipflinger:7.4.2 (*)
|    |    +--- com.android.tools.build:apksig:7.4.2
|    |    +--- com.android.tools.build:apkzlib:7.4.2
|    |    |    +--- com.android.tools.build:apksig:7.4.2
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    |    +--- org.bouncycastle:bcpkix-jdk15on:1.67 (*)
|    |    |    \--- org.bouncycastle:bcprov-jdk15on:1.67
|    |    \--- com.squareup:javawriter:2.5.0
|    +--- com.android.tools.build:builder-model:7.4.2 (*)
|    \--- com.android.tools.build:gradle-api:7.4.2
|         +--- com.android.tools.build:builder-test-api:7.4.2 (*)
|         +--- com.google.guava:guava:30.1-jre (*)
|         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
|         \--- org.ow2.asm:asm:9.2
+--- androidx.benchmark:benchmark-gradle-plugin:1.0.0-beta01
|    +--- com.android.tools.build:gradle:3.4.2 -> 7.4.2 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.50 -> 1.8.10 (*)
+--- org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1
|    \--- org.sonarsource.scanner.api:sonar-scanner-api:2.12.0.1661 -> 2.13.0.1871
+--- org.sonarsource.scanner.api:sonar-scanner-api:2.13.0.1871
+--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.20
|    |    +--- org.jetbrains.kotlin:kotlin-native-utils:1.7.20
|    |    |    \--- org.jetbrains.kotlin:kotlin-util-io:1.7.20
|    |    +--- org.jetbrains.kotlin:kotlin-project-model:1.7.20
|    |    |    \--- org.jetbrains.kotlin:kotlin-tooling-core:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-tooling-core:1.7.20
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-tooling-core:1.7.20
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-idea:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-tooling-core:1.7.20
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-idea-proto:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-gradle-plugin-idea:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-util-klib:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-util-io:1.7.20
|    +--- org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-native-utils:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-project-model:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.20
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.7.20
|    |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20200330
|    |    \--- net.java.dev.jna:jna:5.6.0
|    +--- org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-android-extensions:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-compiler-runner:1.7.20
|    |    +--- org.jetbrains.kotlin:kotlin-build-common:1.7.20
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-client:1.7.20
|    |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0
|    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0
|    |    \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.7.20
|    |    \--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.7.20
|    |         +--- org.jetbrains.kotlin:kotlin-scripting-common:1.7.20
|    |         \--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.7.20
|    |              \--- org.jetbrains.kotlin:kotlin-scripting-common:1.7.20
|    \--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.7.20 (*)
+--- com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.1.60 -> 1.8.10 (*)
|    \--- com.google.code.gson:gson:2.8.2 -> 2.9.0
+--- androidx.navigation:navigation-safe-args-gradle-plugin:2.5.2
|    +--- androidx.navigation:navigation-safe-args-generator:2.5.2
|    |    +--- com.squareup:javapoet:1.13.0
|    |    +--- com.squareup:kotlinpoet:1.8.0
|    |    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.4.31 -> 1.8.10 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.31 -> 1.8.10 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.21 -> 1.8.10 (*)
|    |    +--- xmlpull:xmlpull:1.1.3.1
|    |    \--- xpp3:xpp3:1.1.4c
|    +--- com.android.tools.build:gradle:7.0.4 -> 7.4.2 (*)
|    +--- com.google.code.gson:gson:2.9.0
|    \--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21 -> 1.7.20 (*)
+--- com.squareup.sqldelight:gradle-plugin:1.5.4
|    +--- org.xerial:sqlite-jdbc:3.34.0
|    +--- de.danielbechler:java-object-diff:0.95
|    |    \--- org.slf4j:slf4j-api:1.7.22 -> 2.0.3
|    +--- us.fatehi:schemacrawler-tools:14.16.04.01-java7
|    |    \--- us.fatehi:schemacrawler-api:14.16.04.01-java7
|    |         +--- org.threeten:threetenbp:1.3.3
|    |         \--- com.annimon:stream:1.1.7
|    +--- us.fatehi:schemacrawler-sqlite:14.16.04.01-java7
|    |    +--- us.fatehi:schemacrawler-tools:14.16.04.01-java7 (*)
|    |    \--- org.xerial:sqlite-jdbc:3.7.8 -> 3.34.0
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31 -> 1.7.20 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.8.10 (*)
+--- com.google.gms:google-services:4.3.14
|    +--- com.google.android.gms:strict-version-matcher-plugin:1.2.4
|    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- com.google.guava:guava:27.0.1-jre -> 30.1-jre (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.10 -> 1.8.10 (*)
|    +--- com.google.code.gson:gson:2.8.5 -> 2.9.0
|    \--- com.google.guava:guava:27.0.1-jre -> 30.1-jre (*)
+--- com.google.firebase:firebase-crashlytics-gradle:2.4.1
|    \--- com.google.firebase:firebase-crashlytics-buildtools:2.4.1
|         +--- org.apache.httpcomponents:httpclient:4.5.6 -> 4.5.13 (*)
|         +--- org.apache.httpcomponents:httpmime:4.5.6 (*)
|         +--- commons-cli:commons-cli:1.4
|         +--- commons-io:commons-io:2.6
|         +--- com.google.code.gson:gson:2.8.5 -> 2.9.0
|         \--- com.google.guava:guava:24.1-jre -> 30.1-jre (*)
+--- org.jlleitschuh.gradle:ktlint-gradle:11.2.0
+--- com.newrelic.agent.android:agent-gradle-plugin:6.5.0
|    +--- com.newrelic.agent.android:class-rewriter:6.5.0
|    \--- com.newrelic.agent.android:android-agent:6.5.0
+--- com.newrelic.agent.android:android-agent:6.5.0
+--- project :buildSource
|    +--- com.android.tools.build:gradle:7.4.2 (*)
|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.20 -> 1.8.10 (*)
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20 (*)
|    +--- org.jetbrains.kotlin:kotlin-script-runtime:1.7.20
|    +--- com.newrelic.agent.android:agent-gradle-plugin:6.5.0 (*)
|    +--- de.undercouch.download:de.undercouch.download.gradle.plugin:4.1.1
|    |    \--- de.undercouch:gradle-download-task:4.1.1
|    +--- org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin:11.2.0
|    |    \--- org.jlleitschuh.gradle:ktlint-gradle:11.2.0
|    +--- com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.12.3
|    |    \--- com.gradle:gradle-enterprise-gradle-plugin:3.12.3
|    +--- com.malinskiy.marathon:marathon-gradle-plugin:0.8.0
|    |    +--- io.github.microutils:kotlin-logging:3.0.5
|    |    |    \--- io.github.microutils:kotlin-logging-jvm:3.0.5
|    |    |         +--- org.slf4j:slf4j-api:2.0.3
|    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0 -> 1.8.10 (*)
|    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.0 -> 1.8.10
|    |    \--- commons-codec:commons-codec:1.15
|    \--- com.malinskiy.marathon:configuration:0.8.0
|         +--- com.fasterxml.jackson.core:jackson-databind:2.14.2
|         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.14.2
|         |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.2
|         |    |         +--- com.fasterxml.jackson.core:jackson-annotations:2.14.2 (c)
|         |    |         +--- com.fasterxml.jackson.core:jackson-core:2.14.2 (c)
|         |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.14.2 (c)
|         |    |         +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2 (c)
|         |    |         +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2 (c)
|         |    |         \--- com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2 (c)
|         |    +--- com.fasterxml.jackson.core:jackson-core:2.14.2
|         |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.2 (*)
|         |    \--- com.fasterxml.jackson:jackson-bom:2.14.2 (*)
|         +--- com.fasterxml.jackson.core:jackson-annotations:2.14.2 (*)
|         +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2
|         |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.2 (*)
|         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.14.2 (*)
|         |    +--- org.jetbrains.kotlin:kotlin-reflect:1.5.32 -> 1.8.10 (*)
|         |    \--- com.fasterxml.jackson:jackson-bom:2.14.2 (*)
|         +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2
|         |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.2 (*)
|         |    +--- org.yaml:snakeyaml:1.33
|         |    +--- com.fasterxml.jackson.core:jackson-core:2.14.2 (*)
|         |    \--- com.fasterxml.jackson:jackson-bom:2.14.2 (*)
|         +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.2
|         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.14.2 (*)
|         |    +--- com.fasterxml.jackson.core:jackson-core:2.14.2 (*)
|         |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.2 (*)
|         |    \--- com.fasterxml.jackson:jackson-bom:2.14.2 (*)
|         +--- org.apache.commons:commons-text:1.10.0
|         |    \--- org.apache.commons:commons-lang3:3.12.0
|         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.8.10 (*)
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:{strictly 1.8.10} -> 1.8.10 (c)
+--- org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.8.10} -> 1.8.10 (c)
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:{strictly 1.8.10} -> 1.8.10 (c)
+--- org.jetbrains.kotlin:kotlin-reflect:{strictly 1.8.10} -> 1.8.10 (c)
+--- org.jetbrains:annotations:{strictly 13.0} -> 13.0 (c)
\--- org.jetbrains.kotlin:kotlin-stdlib-common:{strictly 1.8.10} -> 1.8.10 (c)
Malinskiy commented 1 year ago

I suspect you have something changing the signature of the constructor.

the signature is public final class ConfigurationFactory public constructor(marathonfileDir: java.io.File, environmentReader: com.malinskiy.marathon.config.environment.EnvironmentReader /* = compiled code */, mapper: com.malinskiy.marathon.shadow.com.fasterxml.jackson.databind.ObjectMapper /* = compiled code */, environmentVariableSubstitutor: org.apache.commons.text.StringSubstitutor /* = compiled code */) {

The additional parameters you have at the end of the invocation are questionable int, kotlin.jvm.internal.DefaultConstructorMarker.

I ran the same thing on a sample project with gradle 8 and don't see any issues. image

Can you create a reproducer please to continue investigation?

ZakTaccardi commented 1 year ago

let me know if you have had a chance to fix this - happy to privately reshare the reproducer if needed!

ZakTaccardi commented 3 months ago

Hey this is still an issue that's blocking our team. Please let me know if you need a reproducer still

Malinskiy commented 3 months ago

Due to my current time constraints, the best course of action here is for you to investigate this issue and provide the results here. Any potential solutions would also be appreciated.

ZakTaccardi commented 4 days ago

I can share the reproducer privately, but I wasn't able to figure out a fix unfortunately

Malinskiy commented 3 days ago

@ZakTaccardi can you please send it to am@marathonlabs.io? Thank you