cdsap / Talaiot

Simple and extensible plugin to track task times in your Gradle Project.
MIT License
588 stars 37 forks source link

Gradle on MAC with M1 chip using Kotlin Native still produces JNA issue #346

Open nehgutierrez opened 2 years ago

nehgutierrez commented 2 years ago

Using the plugin in a Mac with M1 chip we found the same error than in issue 20355

Environment

openjdk version "11.0.15" 2022-04-19 LTS
OpenJDK Runtime Environment Zulu11.56+19-CA (build 11.0.15+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.56+19-CA (build 11.0.15+10-LTS, mixed mode)

arm 64 MacOS 12.4 (21F79)

Dependencies Here is part of the ./gradle buildEnvironment command

classpath
+--- com.google.gms:google-services:4.3.3
|    +--- com.google.android.gms:strict-version-matcher-plugin:1.2.1
|    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- com.google.guava:guava:27.0.1-jre -> 30.0-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
|    |    |    \--- com.google.j2objc:j2objc-annotations:1.3
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.11 -> 1.4.10
|    |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.10 -> 1.4.32
|    |         |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32
|    |         |    \--- org.jetbrains:annotations:13.0
|    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.10
|    |              \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.10 -> 1.4.32 (*)
|    +--- com.google.code.gson:gson:2.8.5
|    \--- com.google.guava:guava:27.0.1-jre -> 30.0-jre (*)
+--- com.github.bjoernq:unmockplugin:0.7.9
|    +--- org.javassist:javassist:3.27.0-GA
|    \--- com.android.tools.build:gradle:3.3.0 -> 3.4.1 (*)
\--- io.github.cdsap:talaiot:1.5.2
     +--- io.github.cdsap.talaiot:talaiot:1.5.2
     |    +--- com.github.oshi:oshi-core:5.5.0
     |    |    +--- net.java.dev.jna:jna:5.7.0
     |    |    +--- net.java.dev.jna:jna-platform:5.7.0
     |    |    |    \--- net.java.dev.jna:jna:5.7.0
     |    |    \--- org.slf4j:slf4j-api:1.7.30
     |    +--- com.gradle:gradle-enterprise-gradle-plugin:3.5.2
     |    |    \--- com.github.spotbugs:spotbugs-annotations:4.1.3
     |    |         \--- com.google.code.findbugs:jsr305:3.0.2
     |    +--- io.github.cdsap.talaiot:talaiot-logger:1.5.2
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     |    +--- io.github.cdsap.talaiot:talaiot-request:1.5.2
     |    |    +--- io.github.rybalkinsd:kohttp:0.10.0
     |    |    |    +--- com.squareup.okhttp3:okhttp:3.14.2 -> 4.9.0 (*)
     |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.40 -> 1.4.10 (*)
     |    |    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.3.40 -> 1.4.21 (*)
     |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1
     |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.30 -> 1.4.32 (*)
     |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.3.30 -> 1.4.32
     |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.9.9 -> 2.12.6.1 (*)
     |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.9 -> 2.12.6
     |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.12.6 -> 2.12.6.1 (*)
     |    |    |    |    +--- org.yaml:snakeyaml:1.27
     |    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.12.6 (*)
     |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.6 (*)
     |    |    |    \--- com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9 -> 2.12.6
     |    |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.12.6 -> 2.12.6.1 (*)
     |    |    |         +--- com.fasterxml.jackson.core:jackson-annotations:2.12.6 (*)
     |    |    |         +--- org.jetbrains.kotlin:kotlin-reflect:1.4.21 (*)
     |    |    |         \--- com.fasterxml.jackson:jackson-bom:2.12.6 (*)
     |    |    +--- io.github.cdsap.talaiot:talaiot-logger:1.5.2 (*)
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     +--- io.github.cdsap.talaiot:base-publisher:1.5.2
     |    +--- com.google.code.gson:gson:2.8.5
     |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     +--- io.github.cdsap.talaiot:elastic-search-publisher:1.5.2
     |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    +--- org.elasticsearch.client:elasticsearch-rest-high-level-client:7.3.0
     |    |    +--- org.elasticsearch:elasticsearch:7.3.0
     |    |    |    +--- org.elasticsearch:elasticsearch-core:7.3.0
     |    |    |    +--- org.elasticsearch:elasticsearch-secure-sm:7.3.0
     |    |    |    +--- org.elasticsearch:elasticsearch-x-content:7.3.0
     |    |    |    |    +--- org.elasticsearch:elasticsearch-core:7.3.0
     |    |    |    |    +--- org.yaml:snakeyaml:1.17 -> 1.27
     |    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.8.11 -> 2.12.6 (*)
     |    |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.8.11 -> 2.12.6
     |    |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.12.6 -> 2.12.6.1 (*)
     |    |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.6 (*)
     |    |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.8.11 -> 2.12.6 (*)
     |    |    |    |    \--- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.8.11 -> 2.12.6 (*)
     |    |    |    +--- org.elasticsearch:elasticsearch-geo:7.3.0
     |    |    |    +--- org.apache.lucene:lucene-core:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-analyzers-common:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-backward-codecs:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-grouping:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-highlighter:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-join:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-memory:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-misc:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-queries:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-queryparser:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-sandbox:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-spatial:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-spatial-extras:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-spatial3d:8.1.0
     |    |    |    +--- org.apache.lucene:lucene-suggest:8.1.0
     |    |    |    +--- org.elasticsearch:elasticsearch-cli:7.3.0
     |    |    |    |    +--- net.sf.jopt-simple:jopt-simple:5.0.2
     |    |    |    |    \--- org.elasticsearch:elasticsearch-core:7.3.0
     |    |    |    +--- com.carrotsearch:hppc:0.8.1
     |    |    |    +--- joda-time:joda-time:2.10.2
     |    |    |    +--- com.tdunning:t-digest:3.2
     |    |    |    +--- org.hdrhistogram:HdrHistogram:2.1.9
     |    |    |    +--- org.apache.logging.log4j:log4j-api:2.11.1
     |    |    |    \--- org.elasticsearch:jna:4.5.1
     |    |    +--- org.elasticsearch.client:elasticsearch-rest-client:7.3.0
     |    |    |    +--- org.apache.httpcomponents:httpclient:4.5.8 -> 4.5.13 (*)
     |    |    |    +--- org.apache.httpcomponents:httpcore:4.4.11 -> 4.4.13
     |    |    |    +--- org.apache.httpcomponents:httpasyncclient:4.1.4
     |    |    |    +--- org.apache.httpcomponents:httpcore-nio:4.4.11
     |    |    |    +--- commons-codec:commons-codec:1.11 -> 1.13
     |    |    |    \--- commons-logging:commons-logging:1.1.3 -> 1.2
     |    |    +--- org.elasticsearch.plugin:parent-join-client:7.3.0
     |    |    +--- org.elasticsearch.plugin:aggs-matrix-stats-client:7.3.0
     |    |    +--- org.elasticsearch.plugin:rank-eval-client:7.3.0
     |    |    \--- org.elasticsearch.plugin:lang-mustache-client:7.3.0
     |    |         \--- com.github.spullara.mustache.java:compiler:0.9.3
     |    +--- com.google.code.gson:gson:2.8.5
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     +--- io.github.cdsap.talaiot:graph-publisher:1.5.2
     |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    \--- guru.nidi:graphviz-java:0.8.3
     |         +--- org.webjars.npm:viz.js:2.1.2
     |         +--- org.apache.xmlgraphics:xmlgraphics-commons:2.3
     |         |    \--- commons-io:commons-io:1.3.1 -> 2.8.0
     |         +--- commons-io:commons-io:2.6 -> 2.8.0
     |         +--- guru.nidi.com.kitfox:svgSalamander:1.1.2
     |         +--- net.arnx:nashorn-promise:0.1.1
     |         +--- com.eclipsesource.j2v8:j2v8_macosx_x86_64:4.6.0
     |         +--- com.eclipsesource.j2v8:j2v8_linux_x86_64:4.6.0
     |         +--- com.eclipsesource.j2v8:j2v8_win32_x86_64:4.6.0
     |         +--- com.eclipsesource.j2v8:j2v8_win32_x86:4.6.0
     |         +--- org.apache.commons:commons-exec:1.3
     |         +--- com.google.code.findbugs:jsr305:3.0.2
     |         +--- org.slf4j:jcl-over-slf4j:1.7.25
     |         |    \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
     |         +--- org.slf4j:jul-to-slf4j:1.7.25
     |         |    \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
     |         \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
     +--- io.github.cdsap.talaiot:hybrid-publisher:1.5.2
     |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    +--- io.github.cdsap.talaiot:base-publisher:1.5.2 (*)
     |    +--- io.github.cdsap.talaiot:elastic-search-publisher:1.5.2 (*)
     |    +--- io.github.cdsap.talaiot:influxdb-publisher:1.5.2
     |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    |    +--- io.github.cdsap.talaiot:influxdb-common:1.5.2
     |    |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     |    |    +--- org.influxdb:influxdb-java:2.21
     |    |    |    +--- com.squareup.retrofit2:retrofit:2.9.0
     |    |    |    |    \--- com.squareup.okhttp3:okhttp:3.14.9 -> 4.9.0 (*)
     |    |    |    +--- com.squareup.retrofit2:converter-moshi:2.9.0
     |    |    |    |    +--- com.squareup.retrofit2:retrofit:2.9.0 (*)
     |    |    |    |    \--- com.squareup.moshi:moshi:1.8.0
     |    |    |    +--- org.msgpack:msgpack-core:0.8.21
     |    |    |    +--- com.squareup.okhttp3:okhttp:4.9.0 (*)
     |    |    |    \--- com.squareup.okhttp3:logging-interceptor:4.9.0
     |    |    |         +--- com.squareup.okhttp3:okhttp:4.9.0 (*)
     |    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.10 (*)
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     |    +--- io.github.cdsap.talaiot:pushgateway-publisher:1.5.2
     |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    |    +--- io.prometheus:simpleclient_pushgateway:0.15.0
     |    |    |    +--- io.prometheus:simpleclient:0.15.0
     |    |    |    |    +--- io.prometheus:simpleclient_tracer_otel:0.15.0
     |    |    |    |    |    \--- io.prometheus:simpleclient_tracer_common:0.15.0
     |    |    |    |    \--- io.prometheus:simpleclient_tracer_otel_agent:0.15.0
     |    |    |    |         \--- io.prometheus:simpleclient_tracer_common:0.15.0
     |    |    |    \--- io.prometheus:simpleclient_common:0.15.0
     |    |    |         \--- io.prometheus:simpleclient:0.15.0 (*)
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     |    +--- io.github.cdsap.talaiot:rethinkdb-publisher:1.5.2
     |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
     |    |    +--- com.rethinkdb:rethinkdb-driver:2.3.3
     |    |    |    +--- org.slf4j:slf4j-api:1.7.12 -> 1.7.30
     |    |    |    \--- com.googlecode.json-simple:json-simple:1.1.1 (*)
     |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 (*)
     +--- io.github.cdsap.talaiot:influxdb-publisher:1.5.2 (*)
     +--- io.github.cdsap.talaiot:pushgateway-publisher:1.5.2 (*)
     +--- io.github.cdsap.talaiot:rethinkdb-publisher:1.5.2 (*)
     +--- com.github.oshi:oshi-core:5.5.0 (*)
     +--- com.google.code.gson:gson:2.8.5
     +--- org.elasticsearch.client:elasticsearch-rest-high-level-client:7.3.0 (*)
     \--- com.rethinkdb:rethinkdb-driver:2.3.3 (*)
cdsap commented 2 years ago

hi @nehgutierrez thanks for the report I was not aware of the Gradle issue comments. In the Gradle issue, I noticed the user was using old Talaiot versions. Since 1.4.2 we updated the oshi version making it compatible with M1 laptops https://github.com/cdsap/Talaiot/releases/tag/1.4.2. However, checking your buildEnvironment output you are using the newest versions (1.5.2). At work we are using Talaiot with M1 devices but not with Kotlin MultiPlatform/Native. Can I ask you for a simple repo to reproduce the error, please?

vfongmala-sc commented 2 years ago

Hi @cdsap

I have pretty similar problem with M1 Max

classpath
+--- com.android.tools.build:gradle:7.1.3
|    +--- com.android.tools:sdk-common:30.1.3
|    |    +--- com.android.tools:sdklib:30.1.3
|    |    |    +--- com.android.tools.layoutlib:layoutlib-api:30.1.3
|    |    |    |    +--- com.android.tools:common:30.1.3
|    |    |    |    |    +--- com.android.tools:annotations:30.1.3
|    |    |    |    |    +--- 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
|    |    |    |    |    |    \--- com.google.j2objc:j2objc-annotations:1.3
|    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31
|    |    |    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.31
|    |    |    |    |         |    +--- org.jetbrains:annotations:13.0
|    |    |    |    |         |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31
|    |    |    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.31
|    |    |    |    |              \--- org.jetbrains.kotlin:kotlin-stdlib:1.5.31 (*)
|    |    |    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    |    |    +--- com.android.tools:annotations:30.1.3
|    |    |    |    \--- org.jetbrains:annotations:13.0
|    |    |    +--- com.android.tools:dvlib:30.1.3
|    |    |    |    \--- com.android.tools:common:30.1.3 (*)
|    |    |    +--- com.android.tools:common:30.1.3 (*)
|    |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    |    +--- 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.apache.commons:commons-compress:1.20
|    |    |    +--- org.apache.httpcomponents:httpmime:4.5.6
|    |    |    |    \--- org.apache.httpcomponents:httpclient:4.5.6 -> 4.5.8
|    |    |    |         +--- org.apache.httpcomponents:httpcore:4.4.11
|    |    |    |         +--- commons-logging:commons-logging:1.2
|    |    |    |         \--- commons-codec:commons-codec:1.11
|    |    |    +--- org.apache.httpcomponents:httpcore:4.4.10 -> 4.4.11
|    |    |    \--- com.android.tools:repository:30.1.3
|    |    |         +--- com.android.tools:common:30.1.3 (*)
|    |    |         +--- com.android.tools.analytics-library:shared:30.1.3
|    |    |         |    +--- com.android.tools:annotations:30.1.3
|    |    |         |    +--- com.android.tools:common:30.1.3 (*)
|    |    |         |    +--- com.google.guava:guava:30.1-jre (*)
|    |    |         |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    |         |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    |         |    +--- net.java.dev.jna:jna-platform:5.6.0 -> 5.7.0
|    |    |         |    |    \--- net.java.dev.jna:jna:5.7.0
|    |    |         |    \--- com.android.tools.analytics-library:protos:30.1.3
|    |    |         |         \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    |         +--- com.sun.activation:javax.activation:1.2.0
|    |    |         +--- org.apache.commons:commons-compress:1.20
|    |    |         +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    |    |         +--- com.google.jimfs:jimfs:1.1
|    |    |         |    \--- com.google.guava:guava:18.0 -> 30.1-jre (*)
|    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    +--- com.android.tools.build:builder-test-api:7.1.3
|    |    |    +--- com.android.tools.ddms:ddmlib:30.1.3
|    |    |    |    +--- com.android.tools:common:30.1.3 (*)
|    |    |    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    |    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    |    +--- com.android.tools:annotations:30.1.3
|    |    |    +--- com.android.tools:common:30.1.3 (*)
|    |    |    \--- com.google.guava:guava:30.1-jre (*)
|    |    +--- com.android.tools.build:builder-model:7.1.3
|    |    |    +--- com.android.tools:annotations:30.1.3
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    +--- com.android.tools.ddms:ddmlib:30.1.3 (*)
|    |    +--- com.android.tools.layoutlib:layoutlib-api:30.1.3 (*)
|    |    +--- com.android.tools:common:30.1.3 (*)
|    |    +--- com.android.tools.analytics-library:shared:30.1.3 (*)
|    |    +--- org.bouncycastle:bcpkix-jdk15on:1.56
|    |    |    \--- org.bouncycastle:bcprov-jdk15on:1.56
|    |    +--- org.bouncycastle:bcprov-jdk15on:1.56
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.4.32 -> 1.5.31
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.5.31 (*)
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    +--- javax.inject:javax.inject:1
|    |    +--- net.sf.kxml:kxml2:2.3.0
|    |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
|    |    +--- com.android.tools.build:aapt2-proto:7.0.0-beta04-7396180 -> 7.1.3-7984345
|    |    |    \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    \--- xerces:xercesImpl:2.12.0
|    |         \--- xml-apis:xml-apis:1.4.01
|    +--- com.android.tools:sdklib:30.1.3 (*)
|    +--- com.android.tools:repository:30.1.3 (*)
|    +--- com.android.tools.ddms:ddmlib:30.1.3 (*)
|    +--- com.android.tools.build:aapt2-proto:7.1.3-7984345 (*)
|    +--- com.android.tools.build:aaptcompiler:7.1.3
|    |    +--- com.android.tools.build:aapt2-proto:7.1.3-7984345 (*)
|    |    +--- com.android.tools.layoutlib:layoutlib-api:30.1.3 (*)
|    |    +--- com.android.tools:common:30.1.3 (*)
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    +--- com.android.tools.analytics-library:crash:30.1.3
|    |    +--- com.android.tools:annotations:30.1.3
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- org.apache.httpcomponents:httpmime:4.5.6 (*)
|    |    +--- org.apache.httpcomponents:httpcore:4.4.10 -> 4.4.11
|    |    \--- org.apache.httpcomponents:httpclient:4.5.6 -> 4.5.8 (*)
|    +--- com.android.tools.analytics-library:shared:30.1.3 (*)
|    +--- com.android.tools.lint:lint-model:30.1.3
|    |    +--- com.android.tools:common:30.1.3 (*)
|    |    +--- com.android.tools:sdk-common:30.1.3 (*)
|    |    +--- com.android.tools.build:builder-model:7.1.3 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    \--- net.sf.kxml:kxml2:2.3.0
|    +--- androidx.databinding:databinding-compiler-common:7.1.3
|    |    +--- androidx.databinding:databinding-common:7.1.3
|    |    +--- com.android.databinding:baseLibrary:7.1.3
|    |    +--- org.antlr:antlr4:4.5.3
|    |    +--- commons-io:commons-io:2.4 -> 2.6
|    |    +--- com.googlecode.juniversalchardet:juniversalchardet:1.0.3
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- com.squareup:javapoet:1.10.0
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    |    +--- com.android.tools:annotations:30.1.3
|    |    \--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09
|    |         +--- com.google.code.gson:gson:2.8.0 -> 2.9.0
|    |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.60 -> 1.5.31 (*)
|    +--- androidx.databinding:databinding-common:7.1.3
|    +--- com.android.databinding:baseLibrary:7.1.3
|    +--- com.android.tools.build:builder-test-api:7.1.3 (*)
|    +--- com.android.tools.layoutlib:layoutlib-api:30.1.3 (*)
|    +--- com.android.tools.utp:android-device-provider-ddmlib-proto:30.1.3
|    |    \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    +--- com.android.tools.utp:android-device-provider-gradle-proto:30.1.3
|    |    \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    +--- com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.1.3
|    |    \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    +--- com.android.tools.utp:android-test-plugin-host-coverage-proto:30.1.3
|    |    \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    +--- com.android.tools.utp:android-test-plugin-host-retention-proto:30.1.3
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    +--- com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.1.3
|    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    +--- io.grpc:grpc-core:1.21.1
|    |    |    +--- io.opencensus:opencensus-api:0.21.0
|    |    |    +--- io.grpc:grpc-api:1.21.1
|    |    |    |    +--- io.grpc:grpc-context:1.21.1
|    |    |    |    +--- com.google.errorprone:error_prone_annotations:2.3.2 -> 2.3.4
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    +--- org.codehaus.mojo:animal-sniffer-annotations:1.17
|    |    |    |    \--- com.google.guava:guava:26.0-android -> 30.1-jre (*)
|    |    |    +--- com.google.code.gson:gson:2.7 -> 2.9.0
|    |    |    +--- com.google.android:annotations:4.1.1.4
|    |    |    \--- io.opencensus:opencensus-contrib-grpc-metrics:0.21.0
|    |    |         \--- io.opencensus:opencensus-api:0.21.0
|    |    +--- io.grpc:grpc-netty:1.21.1
|    |    |    +--- io.grpc:grpc-core:1.21.1 (*)
|    |    |    +--- io.netty:netty-codec-http2:4.1.34.Final
|    |    |    |    +--- io.netty:netty-common:4.1.34.Final
|    |    |    |    +--- io.netty:netty-buffer:4.1.34.Final
|    |    |    |    |    \--- io.netty:netty-common:4.1.34.Final
|    |    |    |    +--- io.netty:netty-transport:4.1.34.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.34.Final
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.34.Final (*)
|    |    |    |    |    \--- io.netty:netty-resolver:4.1.34.Final
|    |    |    |    |         \--- io.netty:netty-common:4.1.34.Final
|    |    |    |    +--- io.netty:netty-codec:4.1.34.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.34.Final
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.34.Final (*)
|    |    |    |    |    \--- io.netty:netty-transport:4.1.34.Final (*)
|    |    |    |    +--- io.netty:netty-handler:4.1.34.Final
|    |    |    |    |    +--- io.netty:netty-common:4.1.34.Final
|    |    |    |    |    +--- io.netty:netty-buffer:4.1.34.Final (*)
|    |    |    |    |    +--- io.netty:netty-transport:4.1.34.Final (*)
|    |    |    |    |    \--- io.netty:netty-codec:4.1.34.Final (*)
|    |    |    |    \--- io.netty:netty-codec-http:4.1.34.Final
|    |    |    |         +--- io.netty:netty-common:4.1.34.Final
|    |    |    |         +--- io.netty:netty-buffer:4.1.34.Final (*)
|    |    |    |         +--- io.netty:netty-transport:4.1.34.Final (*)
|    |    |    |         +--- io.netty:netty-codec:4.1.34.Final (*)
|    |    |    |         \--- io.netty:netty-handler:4.1.34.Final (*)
|    |    |    \--- io.netty:netty-handler-proxy:4.1.34.Final
|    |    |         +--- io.netty:netty-common:4.1.34.Final
|    |    |         +--- io.netty:netty-buffer:4.1.34.Final (*)
|    |    |         +--- io.netty:netty-transport:4.1.34.Final (*)
|    |    |         +--- io.netty:netty-codec:4.1.34.Final (*)
|    |    |         +--- io.netty:netty-codec-socks:4.1.34.Final
|    |    |         |    +--- io.netty:netty-common:4.1.34.Final
|    |    |         |    +--- io.netty:netty-buffer:4.1.34.Final (*)
|    |    |         |    +--- io.netty:netty-transport:4.1.34.Final (*)
|    |    |         |    \--- io.netty:netty-codec:4.1.34.Final (*)
|    |    |         \--- io.netty:netty-codec-http:4.1.34.Final (*)
|    |    +--- io.grpc:grpc-protobuf:1.21.1
|    |    |    +--- io.grpc:grpc-api:1.21.1 (*)
|    |    |    +--- com.google.protobuf:protobuf-java:3.7.1 -> 3.19.1
|    |    |    +--- com.google.guava:guava:26.0-android -> 30.1-jre (*)
|    |    |    +--- com.google.api.grpc:proto-google-common-protos:1.12.0
|    |    |    \--- io.grpc:grpc-protobuf-lite:1.21.1
|    |    |         +--- io.grpc:grpc-api:1.21.1 (*)
|    |    |         \--- com.google.guava:guava:26.0-android -> 30.1-jre (*)
|    |    +--- io.grpc:grpc-stub:1.21.1
|    |    |    \--- io.grpc:grpc-api:1.21.1 (*)
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    \--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    +--- 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.1
|    +--- org.ow2.asm:asm-analysis:9.1
|    |    \--- org.ow2.asm:asm-tree:9.1
|    |         \--- org.ow2.asm:asm:9.1
|    +--- org.ow2.asm:asm-commons:9.1
|    |    +--- org.ow2.asm:asm:9.1
|    |    +--- org.ow2.asm:asm-tree:9.1 (*)
|    |    \--- org.ow2.asm:asm-analysis:9.1 (*)
|    +--- org.ow2.asm:asm-util:9.1
|    |    +--- org.ow2.asm:asm:9.1
|    |    +--- org.ow2.asm:asm-tree:9.1 (*)
|    |    \--- org.ow2.asm:asm-analysis:9.1 (*)
|    +--- org.bouncycastle:bcpkix-jdk15on:1.56 (*)
|    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|    +--- net.sf.jopt-simple:jopt-simple:4.9 -> 5.0.2
|    +--- com.android.tools.build:bundletool:1.8.0
|    |    +--- com.android.tools.build:aapt2-proto:7.0.0-beta04-7396180 -> 7.1.3-7984345 (*)
|    |    +--- com.google.auto.value:auto-value-annotations:1.6.2
|    |    +--- com.google.errorprone:error_prone_annotations:2.3.1 -> 2.3.4
|    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    +--- com.google.protobuf:protobuf-java-util:3.10.0
|    |    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    |    +--- com.google.guava:guava:28.0-android -> 30.1-jre (*)
|    |    |    +--- com.google.errorprone:error_prone_annotations:2.3.2 -> 2.3.4
|    |    |    \--- com.google.code.gson:gson:2.8.5 -> 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
|    +--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09 (*)
|    +--- com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta09
|    |    +--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09 (*)
|    |    +--- org.ow2.asm:asm:6.0 -> 9.1
|    |    +--- org.ow2.asm:asm-util:6.0 -> 9.1 (*)
|    |    +--- org.ow2.asm:asm-commons:6.0 -> 9.1 (*)
|    |    +--- org.jdom:jdom2:2.0.6
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.60 -> 1.5.31 (*)
|    +--- com.squareup:javapoet:1.10.0
|    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    +--- com.google.protobuf:protobuf-java-util:3.10.0 (*)
|    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    +--- io.grpc:grpc-core:1.21.1 (*)
|    +--- io.grpc:grpc-netty:1.21.1 (*)
|    +--- io.grpc:grpc-protobuf:1.21.1 (*)
|    +--- io.grpc:grpc-stub:1.21.1 (*)
|    +--- com.google.crypto.tink:tink:1.3.0-rc2
|    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    \--- org.json:json:20180813
|    +--- com.google.testing.platform:core-proto:0.0.8-alpha07
|    +--- org.jetbrains.dokka:dokka-core:1.4.32
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.4.32 -> 1.5.31 (*)
|    |    +--- org.jsoup:jsoup:1.13.1
|    |    +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1
|    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.1
|    |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.1
|    |    |    |    \--- com.fasterxml.jackson.core:jackson-core:2.11.1
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.1
|    |    |    \--- org.jetbrains.kotlin:kotlin-reflect:1.3.72 -> 1.5.31 (*)
|    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.1
|    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.1
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.1
|    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.1 (*)
|    |    |    +--- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.11.1
|    |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.1
|    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.1
|    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.1 (*)
|    |    |    |    +--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 (*)
|    |    |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
|    |    |    +--- org.codehaus.woodstox:stax2-api:4.2.1
|    |    |    \--- com.fasterxml.woodstox:woodstox-core:6.2.1
|    |    |         \--- org.codehaus.woodstox:stax2-api:4.2.1
|    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1
|    |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.4.1 -> 1.5.0
|    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0 -> 1.5.31 (*)
|    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0 -> 1.5.31
|    |    +--- org.jetbrains:markdown:0.2.1
|    |    |    \--- org.jetbrains:markdown-jvm:0.2.1
|    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.10 -> 1.5.31 (*)
|    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.10 -> 1.5.31
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    +--- 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.1.3
|    |    +--- com.android.tools.build:builder-model:7.1.3 (*)
|    |    +--- com.android.tools.build:builder-test-api:7.1.3 (*)
|    |    +--- com.android.tools:sdklib:30.1.3 (*)
|    |    +--- com.android.tools:sdk-common:30.1.3 (*)
|    |    +--- com.android.tools:common:30.1.3 (*)
|    |    +--- com.android.tools.ddms:ddmlib:30.1.3 (*)
|    |    +--- com.android:signflinger:7.1.3
|    |    |    +--- com.android.tools.build:apksig:7.1.3
|    |    |    +--- com.android:zipflinger:7.1.3
|    |    |    |    \--- com.android.tools:annotations:30.1.3
|    |    |    \--- com.android.tools:annotations:30.1.3
|    |    +--- com.android.tools.analytics-library:protos:30.1.3 (*)
|    |    +--- com.android.tools.analytics-library:tracker:30.1.3
|    |    |    +--- com.android.tools:annotations:30.1.3
|    |    |    +--- com.android.tools:common:30.1.3 (*)
|    |    |    +--- com.google.protobuf:protobuf-java:3.10.0 -> 3.19.1
|    |    |    +--- com.google.guava:guava:30.1-jre (*)
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    |    +--- com.android.tools.analytics-library:protos:30.1.3 (*)
|    |    |    \--- com.android.tools.analytics-library:shared:30.1.3 (*)
|    |    +--- com.android.tools.layoutlib:layoutlib-api:30.1.3 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    +--- org.bouncycastle:bcpkix-jdk15on:1.56 (*)
|    |    +--- commons-codec:commons-codec:1.10 -> 1.11
|    |    +--- org.bouncycastle:bcprov-jdk15on:1.56
|    |    +--- org.ow2.asm:asm:9.1
|    |    +--- org.ow2.asm:asm-tree:9.1 (*)
|    |    +--- javax.inject:javax.inject:1
|    |    +--- org.ow2.asm:asm-commons:9.1 (*)
|    |    +--- org.ow2.asm:asm-util:9.1 (*)
|    |    +--- it.unimi.dsi:fastutil:8.4.0
|    |    +--- net.sf.jopt-simple:jopt-simple:4.9 -> 5.0.2
|    |    +--- com.googlecode.json-simple:json-simple:1.1 -> 1.1.1
|    |    |    \--- junit:junit:4.10
|    |    |         \--- org.hamcrest:hamcrest-core:1.1
|    |    +--- com.android.tools.build:manifest-merger:30.1.3
|    |    |    +--- com.android.tools:common:30.1.3 (*)
|    |    |    +--- com.android.tools:sdklib:30.1.3 (*)
|    |    |    +--- com.android.tools:sdk-common:30.1.3 (*)
|    |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|    |    |    \--- net.sf.kxml:kxml2:2.3.0
|    |    +--- com.android:zipflinger:7.1.3 (*)
|    |    +--- com.android.tools.build:apksig:7.1.3
|    |    +--- com.android.tools.build:apkzlib:7.1.3
|    |    |    +--- com.google.code.findbugs:jsr305:1.3.9 -> 3.0.2
|    |    |    +--- com.google.guava:guava:23.0 -> 30.1-jre (*)
|    |    |    +--- org.bouncycastle:bcpkix-jdk15on:1.56 (*)
|    |    |    +--- org.bouncycastle:bcprov-jdk15on:1.56
|    |    |    \--- com.android.tools.build:apksig:7.1.3
|    |    \--- com.squareup:javawriter:2.5.0
|    +--- com.android.tools.build:builder-model:7.1.3 (*)
|    \--- com.android.tools.build:gradle-api:7.1.3
|         +--- com.android.tools.build:builder-test-api:7.1.3 (*)
|         +--- com.google.guava:guava:30.1-jre (*)
|         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.5.31 (*)
|         \--- org.ow2.asm:asm:9.1
+--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-native-utils:1.6.10
|    |    |    \--- org.jetbrains.kotlin:kotlin-util-io:1.6.10
|    |    \--- org.jetbrains.kotlin:kotlin-project-model:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-util-klib:1.6.10
|    |    \--- org.jetbrains.kotlin:kotlin-util-io:1.6.10
|    +--- org.jetbrains.kotlin:kotlin-klib-commonizer-api:1.6.10
|    |    \--- org.jetbrains.kotlin:kotlin-native-utils:1.6.10 (*)
|    +--- org.jetbrains.kotlin:kotlin-tooling-metadata:1.6.10
|    |    \--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    +--- org.jetbrains.kotlin:kotlin-project-model:1.6.10
|    +--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|    +--- com.google.guava:guava:29.0-jre -> 30.1-jre (*)
|    +--- de.undercouch:gradle-download-task:4.1.1
|    +--- com.github.gundy:semver4j:0.16.4
|    +--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10
|    |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211
|    |    \--- net.java.dev.jna:jna:5.6.0 -> 5.7.0
|    +--- org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.6.10
|    |    \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10 (*)
|    +--- org.jetbrains.kotlin:kotlin-android-extensions:1.6.10
|    |    \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10 (*)
|    +--- org.jetbrains.kotlin:kotlin-compiler-runner:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-build-common:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-client:1.6.10
|    |    |    \--- 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.6.10 (*)
|    +--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.10
|    |    \--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.10
|    |         +--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10
|    |         \--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.10
|    |              \--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10
|    \--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.10 (*)
+--- com.google.gms:google-services:4.3.10
|    +--- com.google.android.gms:strict-version-matcher-plugin:1.2.2
|    |    +--- 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.5.31 (*)
|    +--- 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.8.1
|    \--- com.google.firebase:firebase-crashlytics-buildtools:2.8.1
+--- com.hiya:jacoco-android:0.2
+--- io.github.cdsap:talaiot:1.5.2
|    +--- io.github.cdsap.talaiot:talaiot:1.5.2
|    |    +--- com.github.oshi:oshi-core:5.5.0
|    |    |    +--- net.java.dev.jna:jna:5.7.0
|    |    |    +--- net.java.dev.jna:jna-platform:5.7.0 (*)
|    |    |    \--- org.slf4j:slf4j-api:1.7.30
|    |    +--- com.gradle:gradle-enterprise-gradle-plugin:3.5.2
|    |    |    \--- com.github.spotbugs:spotbugs-annotations:4.1.3
|    |    |         \--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- io.github.cdsap.talaiot:talaiot-logger:1.5.2
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    |    +--- io.github.cdsap.talaiot:talaiot-request:1.5.2
|    |    |    +--- io.github.rybalkinsd:kohttp:0.10.0
|    |    |    |    +--- com.squareup.okhttp3:okhttp:3.14.2 -> 4.9.3
|    |    |    |    |    +--- com.squareup.okio:okio:2.8.0 -> 2.10.0
|    |    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.4.20 -> 1.5.31 (*)
|    |    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.20 -> 1.5.31
|    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.10 -> 1.5.31 (*)
|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.40 -> 1.5.31 (*)
|    |    |    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.3.40 -> 1.5.31 (*)
|    |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1 -> 1.4.1 (*)
|    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.9.9 -> 2.11.1 (*)
|    |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.9
|    |    |    |    |    +--- org.yaml:snakeyaml:1.23
|    |    |    |    |    \--- com.fasterxml.jackson.core:jackson-core:2.9.9 -> 2.11.1
|    |    |    |    \--- com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9 -> 2.11.1 (*)
|    |    |    +--- io.github.cdsap.talaiot:talaiot-logger:1.5.2 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    +--- io.github.cdsap.talaiot:base-publisher:1.5.2
|    |    +--- com.google.code.gson:gson:2.8.5 -> 2.9.0
|    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    +--- io.github.cdsap.talaiot:elastic-search-publisher:1.5.2
|    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    +--- org.elasticsearch.client:elasticsearch-rest-high-level-client:7.3.0
|    |    |    +--- org.elasticsearch:elasticsearch:7.3.0
|    |    |    |    +--- org.elasticsearch:elasticsearch-core:7.3.0
|    |    |    |    +--- org.elasticsearch:elasticsearch-secure-sm:7.3.0
|    |    |    |    +--- org.elasticsearch:elasticsearch-x-content:7.3.0
|    |    |    |    |    +--- org.elasticsearch:elasticsearch-core:7.3.0
|    |    |    |    |    +--- org.yaml:snakeyaml:1.17 -> 1.23
|    |    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.8.11 -> 2.11.1
|    |    |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.8.11
|    |    |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.8.11 -> 2.9.9 (*)
|    |    |    |    |    \--- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.8.11
|    |    |    |    +--- org.elasticsearch:elasticsearch-geo:7.3.0
|    |    |    |    +--- org.apache.lucene:lucene-core:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-analyzers-common:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-backward-codecs:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-grouping:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-highlighter:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-join:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-memory:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-misc:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-queries:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-queryparser:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-sandbox:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-spatial:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-spatial-extras:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-spatial3d:8.1.0
|    |    |    |    +--- org.apache.lucene:lucene-suggest:8.1.0
|    |    |    |    +--- org.elasticsearch:elasticsearch-cli:7.3.0
|    |    |    |    |    +--- net.sf.jopt-simple:jopt-simple:5.0.2
|    |    |    |    |    \--- org.elasticsearch:elasticsearch-core:7.3.0
|    |    |    |    +--- com.carrotsearch:hppc:0.8.1
|    |    |    |    +--- joda-time:joda-time:2.10.2
|    |    |    |    +--- com.tdunning:t-digest:3.2
|    |    |    |    +--- org.hdrhistogram:HdrHistogram:2.1.9
|    |    |    |    +--- org.apache.logging.log4j:log4j-api:2.11.1
|    |    |    |    \--- org.elasticsearch:jna:4.5.1
|    |    |    +--- org.elasticsearch.client:elasticsearch-rest-client:7.3.0
|    |    |    |    +--- org.apache.httpcomponents:httpclient:4.5.8 (*)
|    |    |    |    +--- org.apache.httpcomponents:httpcore:4.4.11
|    |    |    |    +--- org.apache.httpcomponents:httpasyncclient:4.1.4
|    |    |    |    +--- org.apache.httpcomponents:httpcore-nio:4.4.11
|    |    |    |    +--- commons-codec:commons-codec:1.11
|    |    |    |    \--- commons-logging:commons-logging:1.1.3 -> 1.2
|    |    |    +--- org.elasticsearch.plugin:parent-join-client:7.3.0
|    |    |    +--- org.elasticsearch.plugin:aggs-matrix-stats-client:7.3.0
|    |    |    +--- org.elasticsearch.plugin:rank-eval-client:7.3.0
|    |    |    \--- org.elasticsearch.plugin:lang-mustache-client:7.3.0
|    |    |         \--- com.github.spullara.mustache.java:compiler:0.9.3
|    |    +--- com.google.code.gson:gson:2.8.5 -> 2.9.0
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    +--- io.github.cdsap.talaiot:graph-publisher:1.5.2
|    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    \--- guru.nidi:graphviz-java:0.8.3
|    |         +--- org.webjars.npm:viz.js:2.1.2
|    |         +--- org.apache.xmlgraphics:xmlgraphics-commons:2.3
|    |         |    \--- commons-io:commons-io:1.3.1 -> 2.6
|    |         +--- commons-io:commons-io:2.6
|    |         +--- guru.nidi.com.kitfox:svgSalamander:1.1.2
|    |         +--- net.arnx:nashorn-promise:0.1.1
|    |         +--- com.eclipsesource.j2v8:j2v8_macosx_x86_64:4.6.0
|    |         +--- com.eclipsesource.j2v8:j2v8_linux_x86_64:4.6.0
|    |         +--- com.eclipsesource.j2v8:j2v8_win32_x86_64:4.6.0
|    |         +--- com.eclipsesource.j2v8:j2v8_win32_x86:4.6.0
|    |         +--- org.apache.commons:commons-exec:1.3
|    |         +--- com.google.code.findbugs:jsr305:3.0.2
|    |         +--- org.slf4j:jcl-over-slf4j:1.7.25
|    |         |    \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |         +--- org.slf4j:jul-to-slf4j:1.7.25
|    |         |    \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |         \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    +--- io.github.cdsap.talaiot:hybrid-publisher:1.5.2
|    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    +--- io.github.cdsap.talaiot:base-publisher:1.5.2 (*)
|    |    +--- io.github.cdsap.talaiot:elastic-search-publisher:1.5.2 (*)
|    |    +--- io.github.cdsap.talaiot:influxdb-publisher:1.5.2
|    |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    |    +--- io.github.cdsap.talaiot:influxdb-common:1.5.2
|    |    |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    |    |    +--- org.influxdb:influxdb-java:2.21
|    |    |    |    +--- com.squareup.retrofit2:retrofit:2.9.0
|    |    |    |    |    \--- com.squareup.okhttp3:okhttp:3.14.9 -> 4.9.3 (*)
|    |    |    |    +--- com.squareup.retrofit2:converter-moshi:2.9.0
|    |    |    |    |    +--- com.squareup.retrofit2:retrofit:2.9.0 (*)
|    |    |    |    |    \--- com.squareup.moshi:moshi:1.8.0
|    |    |    |    +--- org.msgpack:msgpack-core:0.8.21
|    |    |    |    +--- com.squareup.okhttp3:okhttp:4.9.0 -> 4.9.3 (*)
|    |    |    |    \--- com.squareup.okhttp3:logging-interceptor:4.9.0 -> 4.9.3
|    |    |    |         +--- com.squareup.okhttp3:okhttp:4.9.3 (*)
|    |    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.10 -> 1.5.31 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    |    +--- io.github.cdsap.talaiot:pushgateway-publisher:1.5.2
|    |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    |    +--- io.prometheus:simpleclient_pushgateway:0.15.0
|    |    |    |    +--- io.prometheus:simpleclient:0.15.0
|    |    |    |    |    +--- io.prometheus:simpleclient_tracer_otel:0.15.0
|    |    |    |    |    |    \--- io.prometheus:simpleclient_tracer_common:0.15.0
|    |    |    |    |    \--- io.prometheus:simpleclient_tracer_otel_agent:0.15.0
|    |    |    |    |         \--- io.prometheus:simpleclient_tracer_common:0.15.0
|    |    |    |    \--- io.prometheus:simpleclient_common:0.15.0
|    |    |    |         \--- io.prometheus:simpleclient:0.15.0 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    |    +--- io.github.cdsap.talaiot:rethinkdb-publisher:1.5.2
|    |    |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|    |    |    +--- com.rethinkdb:rethinkdb-driver:2.3.3
|    |    |    |    +--- org.slf4j:slf4j-api:1.7.12 -> 1.7.30
|    |    |    |    \--- com.googlecode.json-simple:json-simple:1.1.1 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|    +--- io.github.cdsap.talaiot:influxdb-publisher:1.5.2 (*)
|    +--- io.github.cdsap.talaiot:pushgateway-publisher:1.5.2 (*)
|    +--- io.github.cdsap.talaiot:rethinkdb-publisher:1.5.2 (*)
|    +--- com.github.oshi:oshi-core:5.5.0 (*)
|    +--- com.google.code.gson:gson:2.8.5 -> 2.9.0
|    +--- org.elasticsearch.client:elasticsearch-rest-high-level-client:7.3.0 (*)
|    \--- com.rethinkdb:rethinkdb-driver:2.3.3 (*)
+--- app.cash.paparazzi:paparazzi-gradle-plugin:1.0.0-SNAPSHOT
|    +--- org.jetbrains.kotlin:kotlin-bom:1.6.10
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 -> 1.5.31 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 -> 1.5.31 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 -> 1.5.31 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 -> 1.5.31 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.10 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10 (c)
|    |    +--- org.jetbrains.kotlin:kotlin-daemon-client:1.6.10 (c)
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 -> 1.5.31 (c)
|    +--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10 (*)
|    +--- com.android.tools.build:gradle:7.1.2 -> 7.1.3 (*)
|    +--- com.android.tools:sdk-common:26.6.4 -> 30.1.3 (*)
|    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10 -> 1.5.31 (*)
+--- com.google.android.gms:oss-licenses-plugin:0.10.5
|    +--- com.android.tools.build:gradle:7.1.0 -> 7.1.3 (*)
|    +--- com.android.tools.build:gradle-api:7.1.0 -> 7.1.3 (*)
|    \--- com.google.protobuf:protobuf-java:3.19.1
+--- com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.38.0
|    \--- com.github.ben-manes:gradle-versions-plugin:0.38.0
|         \--- com.thoughtworks.xstream:xstream:1.4.15
|              +--- xmlpull:xmlpull:1.1.3.1
|              \--- xpp3:xpp3_min:1.1.4c
+--- io.github.cdsap.talaiot.plugin.influxdb2:io.github.cdsap.talaiot.plugin.influxdb2.gradle.plugin:1.5.2
|    \--- io.github.cdsap.talaiot.plugin:influxdb2:1.5.2
|         +--- io.github.cdsap.talaiot:influxdb2-publisher:1.5.2
|         |    +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|         |    +--- io.github.cdsap.talaiot:influxdb-common:1.5.2 (*)
|         |    +--- com.influxdb:influxdb-client-java:6.0.0
|         |    |    +--- com.influxdb:influxdb-client-core:6.0.0
|         |    |    |    +--- com.influxdb:influxdb-client-utils:6.0.0
|         |    |    |    |    \--- com.google.code.findbugs:jsr305:3.0.2
|         |    |    |    +--- com.squareup.okio:okio:2.10.0 (*)
|         |    |    |    +--- com.squareup.okhttp3:okhttp:4.9.3 (*)
|         |    |    |    +--- com.squareup.retrofit2:retrofit:2.9.0 (*)
|         |    |    |    +--- com.squareup.okhttp3:logging-interceptor:4.9.3 (*)
|         |    |    |    +--- org.apache.commons:commons-csv:1.9.0
|         |    |    |    +--- com.google.code.gson:gson:2.9.0
|         |    |    |    \--- com.google.code.findbugs:jsr305:3.0.2
|         |    |    +--- io.reactivex.rxjava3:rxjava:3.1.4
|         |    |    |    \--- org.reactivestreams:reactive-streams:1.0.3
|         |    |    +--- com.squareup.retrofit2:adapter-rxjava3:2.9.0
|         |    |    |    +--- io.reactivex.rxjava3:rxjava:3.0.0 -> 3.1.4 (*)
|         |    |    |    \--- org.reactivestreams:reactive-streams:1.0.3
|         |    |    +--- io.gsonfire:gson-fire:1.8.5
|         |    |    |    \--- com.google.code.gson:gson:2.8.6 -> 2.9.0
|         |    |    +--- com.squareup.retrofit2:converter-scalars:2.9.0
|         |    |    |    \--- com.squareup.retrofit2:retrofit:2.9.0 (*)
|         |    |    +--- com.squareup.retrofit2:converter-gson:2.9.0
|         |    |    |    +--- com.squareup.retrofit2:retrofit:2.9.0 (*)
|         |    |    |    \--- com.google.code.gson:gson:2.8.5 -> 2.9.0
|         |    |    \--- com.google.code.findbugs:jsr305:3.0.2
|         |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
|         +--- io.github.cdsap.talaiot:talaiot:1.5.2 (*)
|         \--- org.jetbrains.kotlin:kotlin-stdlib:1.4.32 -> 1.5.31 (*)
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:{strictly 1.5.31} -> 1.5.31 (c)
+--- org.jetbrains.kotlin:kotlin-reflect:{strictly 1.5.31} -> 1.5.31 (c)
+--- org.jetbrains:annotations:{strictly 13.0} -> 13.0 (c)
+--- org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.5.31} -> 1.5.31 (c)
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:{strictly 1.5.31} -> 1.5.31 (c)
\--- org.jetbrains.kotlin:kotlin-stdlib-common:{strictly 1.5.31} -> 1.5.31 (c)

(c) - dependency constraint
(*) - dependencies omitted (listed previously)

A web-based, searchable dependency report is available by adding the --scan option.

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify build listener.
> Can't load library: /Users/vfongmala/Library/Caches/JNA/temp/jna2822647800186192224.tmp

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

* Exception is:
org.gradle.internal.event.ListenerNotificationException: Failed to notify build listener.
        at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:89)
        at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:346)
        at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:249)
        at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:141)
        at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37)
        at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
        at com.sun.proxy.$Proxy27.buildFinished(Unknown Source)
        at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$finishBuild$8(DefaultBuildLifecycleController.java:195)
        at org.gradle.internal.model.StateTransitionController.lambda$finish$11(StateTransitionController.java:218)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
        at org.gradle.internal.model.StateTransitionController.finish(StateTransitionController.java:209)
        at org.gradle.internal.build.DefaultBuildLifecycleController.finishBuild(DefaultBuildLifecycleController.java:183)
        at org.gradle.internal.buildtree.DefaultBuildTreeFinishExecutor.finishBuildTree(DefaultBuildTreeFinishExecutor.java:55)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$runBuild$4(DefaultBuildTreeLifecycleController.java:111)
        at org.gradle.internal.model.StateTransitionController.lambda$transition$6(StateTransitionController.java:166)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238)
        at org.gradle.internal.model.StateTransitionController.lambda$transition$7(StateTransitionController.java:166)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
        at org.gradle.internal.model.StateTransitionController.transition(StateTransitionController.java:166)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.runBuild(DefaultBuildTreeLifecycleController.java:103)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.scheduleAndRunTasks(DefaultBuildTreeLifecycleController.java:69)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.internal.buildtree.ProblemReportingBuildActionRunner.run(ProblemReportingBuildActionRunner.java:49)
        at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:69)
        at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:119)
        at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
        at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.lambda$execute$0(RootBuildLifecycleBuildActionExecutor.java:40)
        at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:128)
        at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.execute(RootBuildLifecycleBuildActionExecutor.java:40)
        at org.gradle.internal.buildtree.DefaultBuildTreeContext.execute(DefaultBuildTreeContext.java:40)
        at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.lambda$execute$0(BuildTreeLifecycleBuildActionExecutor.java:65)
        at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)
        at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.execute(BuildTreeLifecycleBuildActionExecutor.java:65)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:61)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:57)
        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:73)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor.execute(RunAsBuildOperationBuildActionExecutor.java:57)
        at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.lambda$execute$0(RunAsWorkerThreadBuildActionExecutor.java:36)
        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119)
        at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.execute(RunAsWorkerThreadBuildActionExecutor.java:36)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecutor.execute(ContinuousBuildActionExecutor.java:103)
        at org.gradle.tooling.internal.provider.SubscribableBuildActionExecutor.execute(SubscribableBuildActionExecutor.java:64)
        at org.gradle.internal.session.DefaultBuildSessionContext.execute(DefaultBuildSessionContext.java:46)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:100)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:88)
        at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:69)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:62)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:41)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:63)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:58)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
        at org.gradle.util.internal.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /Users/vfongmala/Library/Caches/JNA/temp/jna2822647800186192224.tmp
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018)
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
        at com.sun.jna.Native.<clinit>(Native.java:195)
        at com.sun.jna.Structure.setAlignType(Structure.java:280)
        at com.sun.jna.Structure.<init>(Structure.java:197)
        at com.sun.jna.Structure.<init>(Structure.java:193)
        at com.sun.jna.Structure.<init>(Structure.java:180)
        at com.sun.jna.Structure.<init>(Structure.java:172)
        at com.sun.jna.platform.mac.SystemB$VMStatistics.<init>(SystemB.java:104)
        at oshi.hardware.platform.mac.MacGlobalMemory.queryVmStats(MacGlobalMemory.java:136)
        at oshi.util.Memoizer$1.get(Memoizer.java:87)
        at oshi.hardware.platform.mac.MacGlobalMemory.getAvailable(MacGlobalMemory.java:69)
        at io.github.cdsap.talaiot.metrics.RamAvailableMetric$1.invoke(SimpleMetrics.kt:57)
        at io.github.cdsap.talaiot.metrics.RamAvailableMetric$1.invoke(SimpleMetrics.kt:56)
        at io.github.cdsap.talaiot.metrics.base.Metric.get(Metric.kt:15)
        at io.github.cdsap.talaiot.provider.MetricsProvider.get(MetricsProvider.kt:45)
        at io.github.cdsap.talaiot.provider.MetricsProvider.get(MetricsProvider.kt:16)
        at io.github.cdsap.talaiot.publisher.TalaiotPublisherImpl.publish(TalaiotPublisherImpl.kt:37)
        at io.github.cdsap.talaiot.TalaiotListener.buildFinished(TalaiotListener.kt:81)
        at jdk.internal.reflect.GeneratedMethodAccessor783.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
        at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
        at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:464)
        at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:446)
        at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:61)
        at org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:434)
        at org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:421)
        at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:43)
        at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:245)
        at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:157)
        at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:61)
        at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:346)
        at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:249)
        at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:141)
        at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37)
        at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
        at com.sun.proxy.$Proxy27.buildFinished(Unknown Source)
        at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$finishBuild$8(DefaultBuildLifecycleController.java:195)
        at org.gradle.internal.model.StateTransitionController.lambda$finish$11(StateTransitionController.java:218)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
        at org.gradle.internal.model.StateTransitionController.finish(StateTransitionController.java:209)
        at org.gradle.internal.build.DefaultBuildLifecycleController.finishBuild(DefaultBuildLifecycleController.java:183)
        at org.gradle.internal.buildtree.DefaultBuildTreeFinishExecutor.finishBuildTree(DefaultBuildTreeFinishExecutor.java:55)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$runBuild$4(DefaultBuildTreeLifecycleController.java:111)
        at org.gradle.internal.model.StateTransitionController.lambda$transition$6(StateTransitionController.java:166)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238)
        at org.gradle.internal.model.StateTransitionController.lambda$transition$7(StateTransitionController.java:166)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
        at org.gradle.internal.model.StateTransitionController.transition(StateTransitionController.java:166)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.runBuild(DefaultBuildTreeLifecycleController.java:103)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.scheduleAndRunTasks(DefaultBuildTreeLifecycleController.java:69)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.internal.buildtree.ProblemReportingBuildActionRunner.run(ProblemReportingBuildActionRunner.java:49)
        at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:69)
        at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:119)
        at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
        at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.lambda$execute$0(RootBuildLifecycleBuildActionExecutor.java:40)
        at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:128)
        at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.execute(RootBuildLifecycleBuildActionExecutor.java:40)
        at org.gradle.internal.buildtree.DefaultBuildTreeContext.execute(DefaultBuildTreeContext.java:40)
        at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.lambda$execute$0(BuildTreeLifecycleBuildActionExecutor.java:65)
        at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)
        at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.execute(BuildTreeLifecycleBuildActionExecutor.java:65)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:61)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:57)
        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:73)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor.execute(RunAsBuildOperationBuildActionExecutor.java:57)
        at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.lambda$execute$0(RunAsWorkerThreadBuildActionExecutor.java:36)
        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119)
        at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.execute(RunAsWorkerThreadBuildActionExecutor.java:36)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecutor.execute(ContinuousBuildActionExecutor.java:103)
        at org.gradle.tooling.internal.provider.SubscribableBuildActionExecutor.execute(SubscribableBuildActionExecutor.java:64)
        at org.gradle.internal.session.DefaultBuildSessionContext.execute(DefaultBuildSessionContext.java:46)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:100)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:88)
        at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:69)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:62)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:41)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:63)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:58)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
        at org.gradle.util.internal.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

As I understand it shouldn't be much different between M1 and M1 Max. Any idea on this?

crothert commented 2 years ago

@cdsap

Here is the sample repo 🙇

cdsap commented 2 years ago

hi @vfongmala-safetyculture @crothert thanks for the report and the example repo. Definitely, there is something wrong there. I was surprised because we are working with M1 Max and I'm not seeing this issue. Thanks to the repo provided by @crothert I was able to reproduce it. One thing it call my attention was the configuration of the plugin in the example repo. I see you're not using the Talaliot Plugin from the Gradle Plugin Portal. After changing it with the same configuration it works. The git diff is: app/build.gradle

-buildscript {
-    repositories {
-        google()
-        mavenLocal()
-        mavenCentral()
-    }
-    dependencies {
-        classpath "io.github.cdsap:talaiot:1.5.2"
-    }
-}
-

build.gradle:

     id 'com.android.application' version '7.1.2' apply false
     id 'com.android.library' version '7.1.2' apply false
     id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
+    id 'io.github.cdsap.talaiot' version '1.5.2' apply false
 }

Can you test it by defining the plugin in the main build.gradle file and removing the buildScript block from app/build.gradle?
The output of the json after changing the configuration includes the custom metrics:

...
  "osManufacturer": "Apple"
},
"customProperties": {
  "buildProperties": {
    "cpuDetails": "Apple M1 Max",
    "cpuArchitecture": "aarch64",
    "totalSystemMemory": "68719476736"
  },
  "taskProperties": {}
},
...

From my side I will investigate the invocation difference and updating the oshi dependency version. Thanks again

vfongmala-sc commented 2 years ago

Hi @cdsap, So I actually found the cause of the problem. I was using Temurin open JDK https://adoptium.net/ because AdoptOpenJDK was deprecated. With Temurin JDK I found Can't load library: /Users/vfongmala/Library/Caches/JNA/temp/jna2822647800186192224.tmp issue but when I downgraded to AdoptOpenJDK the issue was gone.

cdsap commented 2 years ago

Thanks @vfongmala-safetyculture, we are using zulu JDK for M1.
One approach to detect the correct JDK usage on M1 machines is to follow this check: https://github.com/slackhq/kotlin-cli-util/blob/main/src/main/kotlin/slack/cli/AppleSiliconCompat.kt

btw @crothert have you tried the configuration with the above suggestion?

crothert commented 2 years ago

btw @crothert have you tried the configuration with the above suggestion?

The above configuration works, thank you so much for figuring this out! CC: @cdsap

nehgutierrez commented 2 years ago

Thanks for the help @cdsap, do you want me to close the issue or you'll maintain it to investigate further?

cdsap commented 2 years ago

thanks @nehgutierrez, closing the issue and will investigate the issue invoking the plugin from the buildscript block

orchestr7 commented 2 years ago

Still fails in build scripts for latest Kotlin Native projects with

plugins {
    id("io.github.cdsap.talaiot.plugin.base") version "1.5.3"
}

and

java --version 
openjdk 11.0.15 2022-04-19 LTS
OpenJDK Runtime Environment Zulu11.56+19-CA (build 11.0.15+10-LTS)

To reproduce you can do:

git clone https://github.com/saveourtool/save-cli
cd save-cli 
./gradlew clean 

You will see:

> Configure project :save-cli
Reckoned version: 0.4.0-alpha.0.40+20220629T141459Z

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify build listener.
> Can't load library: /Users/akuleshov7/Library/Caches/JNA/temp/jna4762050283114905534.tmp

@cdsap any plans to fix JNA somehow?

cdsap commented 2 years ago

Thanks @akuleshov7 for the complete report and sorry for delay. Will check this weekend.

cdsap commented 2 years ago

@akuleshov7 I tested again pointing to the checkout of the repo before removing the plugin. It failed, tried to update the oshi dependency but same error. Reopening this issue

madsunrise commented 2 years ago

+1 for issue (JDK Temurin-18.0.1+10)

notsatyarth commented 2 years ago

Tried this out on the project listed by akuleshov7 above, A few findings:

  1. I can make it work if I specify talaiot as a compile dependency for buildSrc and only apply the plugin on the root/build.gradle.kts. This fails if I were to declare the plugin in root/build.gradle.kts . A different I notice between both of these builds is that in the former setup, oshi is a part of the build classpath whereas it is in the latter. Wonder if this is relevant
  2. It can also run by disabling performance & environment metrics in both ways
Vacxe commented 1 year ago

@cdsap +1

* What went wrong:
Failed to notify build listener.
> Could not initialize class com.sun.jna.Native
openjdk 11.0.19 2023-04-18 LTS
OpenJDK Runtime Environment Zulu11.64+19-CA (build 11.0.19+7-LTS)
OpenJDK 64-Bit Server VM Zulu11.64+19-CA (build 11.0.19+7-LTS, mixed mode)