Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.45k stars 409 forks source link

AGP 7.2.2 with Dokka 1.7.10 fails during JavaDocGeneration #2660

Closed hfhbd closed 2 years ago

hfhbd commented 2 years ago

Describe the bug AGP 7.2.2 depends on org.jetbrains.dokka:dokka-core:1.4.32 -> 1.7.10 and the update to 1.7.10 has breaking binary changes:

Unable to find method ''void org.jetbrains.dokka.DokkaSourceSetImpl.<init>(java.lang.String, org.jetbrains.dokka.DokkaSourceSetID, java.util.List, java.util.Set, java.util.Set, java.util.Set, java.util.Set, boolean, boolean, boolean, boolean, int, java.util.Set, java.util.List, java.util.Set, java.lang.String, java.lang.String, boolean, boolean, java.util.Set, org.jetbrains.dokka.Platform, int, kotlin.jvm.internal.DefaultConstructorMarker)''
'void org.jetbrains.dokka.DokkaSourceSetImpl.<init>(java.lang.String, org.jetbrains.dokka.DokkaSourceSetID, java.util.List, java.util.Set, java.util.Set, java.util.Set, java.util.Set, boolean, boolean, boolean, boolean, int, java.util.Set, java.util.List, java.util.Set, java.lang.String, java.lang.String, boolean, boolean, java.util.Set, org.jetbrains.dokka.Platform, int, kotlin.jvm.internal.DefaultConstructorMarker)'

Expected behaviour A still working build

To Reproduce Bump dokka from 1.6.10 to 1.7.10 https://github.com/cashapp/sqldelight/pull/3325/commits/870cd7d2a9146a9d144c844719a4765ccb650a73

Dokka configuration Just apply the plugin

// android-driver
plugins {
  alias(deps.plugins.android.library)
  alias(deps.plugins.kotlin.android)
  alias(deps.plugins.publish)
  alias(deps.plugins.dokka)
}
archivesBaseName = 'sqldelight-android-driver'

android {
  compileSdk deps.versions.compileSdk.get() as int

  lint {
    textReport true
    textOutput file("$reportsDir/lint-results.txt")
  }

  defaultConfig {
    minSdk deps.versions.minSdk.get() as int
  }

  buildFeatures {
    buildConfig = false
  }

  testOptions  {
    unitTests {
      includeAndroidResources = true
    }
  }
}

dependencies {
  // workaround for https://youtrack.jetbrains.com/issue/KT-27059
  api "${project.property("GROUP")}:runtime-jvm:${project.property("VERSION_NAME")}"
  api deps.androidx.sqlite

  implementation deps.androidx.sqliteFramework

  testImplementation project(':drivers:driver-test')
  testImplementation deps.junit
  testImplementation deps.androidx.test.core
  testImplementation deps.robolectric
}

// workaround for https://youtrack.jetbrains.com/issue/KT-27059
configurations.all {
    resolutionStrategy.dependencySubstitution {
        substitute module("${project.property("GROUP")}:runtime-jvm:${project.property("VERSION_NAME")}") with project(':runtime')
    }
}

apply from: rootProject.file('gradle/gradle-mvn-push.gradle')

// root project
buildscript {
  dependencies {
    classpath("com.squareup.okhttp3:okhttp") {
      version {
        strictly '4.4.1'
      }
    }
  }
}

plugins {
  alias(deps.plugins.grammarKitComposer) apply false
  alias(deps.plugins.kotlin.multiplatform) apply false
  alias(deps.plugins.kotlin.jvm) apply false
  alias(deps.plugins.kotlin.android) apply false
  alias(deps.plugins.kotlin.js) apply false
  alias(deps.plugins.ksp) apply false
  alias(deps.plugins.android.application) apply false
  alias(deps.plugins.android.library) apply false
  alias(deps.plugins.publish) apply false
  alias(deps.plugins.dokka)
  alias(deps.plugins.spotless)
}

spotless {
  kotlin {
    target "**/*.kt"
    targetExclude "**/gen/**/*.*", "**/generated/**/*.*", "sqldelight-compiler/integration-tests/src/test/kotlin/com/example/**/*.*", "sqldelight-compiler/src/test/migration-interface-fixtures/**/*.*"
    ktlint(deps.versions.ktlint.get()).editorConfigOverride([
      "indent_size": "2",
       "disabled_rules": "package-name",
       "ij_kotlin_allow_trailing_comma": "true",
       "ij_kotlin_allow_trailing_comma_on_call_site": "true",
    ])
    trimTrailingWhitespace()
    endWithNewline()
  }
}

allprojects {
  repositories {
    mavenCentral()
    google()
    maven { url 'https://www.jetbrains.com/intellij-repository/releases' }
    maven { url "https://cache-redirector.jetbrains.com/intellij-dependencies" }
  }

  tasks.withType(Test).configureEach {
    testLogging {
      events = ["failed", "skipped", "passed"]
      exceptionFormat "full"
    }
  }

  tasks.withType(JavaCompile) {
    sourceCompatibility = JavaVersion.VERSION_11
    targetCompatibility = JavaVersion.VERSION_11
  }

  tasks.withType(org.jetbrains.grammarkit.tasks.GenerateParserTask) {
    doFirst {
      // https://github.com/JetBrains/gradle-grammar-kit-plugin/pull/78.
      logging.captureStandardOutput(LogLevel.INFO)
    }
  }

  // https://youtrack.jetbrains.com/issue/KT-46466
  tasks.withType(org.gradle.plugins.signing.Sign) { signingTask ->
    tasks.withType(org.gradle.api.publish.maven.tasks.AbstractPublishToMaven) { publishTask ->
      publishTask.dependsOn(signingTask)
    }
  }

  configurations.all {
    exclude group: 'com.jetbrains.rd'
    exclude group: 'com.github.jetbrains', module: 'jetCheck'
    exclude group: 'org.roaringbitmap'
  }

  group = GROUP
  version = VERSION_NAME
}

tasks.named("dokkaHtmlMultiModule").configure {
  outputDirectory = file("$rootDir/docs/2.x")

  moduleName.set("SQLDelight")
  pluginsMapConfiguration.set(["org.jetbrains.dokka.base.DokkaBase": """
    {
      "footerMessage": "Copyright &copy; 2022 Square, Inc.",
      "customStyleSheets": ["${file("docs/css/logo-styles.css")}"]
    }
  """])
}

Installation

Additional context nA

Are you willing to provide a PR? With help sure

Plugin dependencies

classpath
+--- com.android.application:com.android.application.gradle.plugin:7.2.2
|    \--- com.android.tools.build:gradle:7.2.2
|         +--- com.android.tools:sdk-common:30.2.2
|         |    +--- com.android.tools.analytics-library:shared:30.2.2
|         |    |    +--- com.android.tools.analytics-library:protos:30.2.2
|         |    |    |    \--- com.google.protobuf:protobuf-java:3.10.0
|         |    |    +--- com.android.tools:annotations:30.2.2
|         |    |    +--- com.android.tools:common:30.2.2
|         |    |    |    +--- com.android.tools:annotations:30.2.2
|         |    |    |    +--- com.google.guava:guava:30.1-jre (*)
|         |    |    |    +--- net.java.dev.jna:jna-platform:5.6.0
|         |    |    |    |    \--- net.java.dev.jna:jna:5.6.0
|         |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         |    |    +--- com.google.guava:guava:30.1-jre (*)
|         |    |    +--- net.java.dev.jna:jna-platform:5.6.0 (*)
|         |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    +--- com.android.tools:common:30.2.2 (*)
|         |    +--- com.android.tools.ddms:ddmlib:30.2.2
|         |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    |    +--- com.android.tools:common:30.2.2 (*)
|         |    |    +--- com.google.protobuf:protobuf-java:3.10.0
|         |    |    \--- net.sf.kxml:kxml2:2.3.0
|         |    +--- com.android.tools.layoutlib:layoutlib-api:30.2.2
|         |    |    +--- com.android.tools:annotations:30.2.2
|         |    |    +--- com.android.tools:common:30.2.2 (*)
|         |    |    +--- net.sf.kxml:kxml2:2.3.0
|         |    |    \--- org.jetbrains:annotations:13.0
|         |    +--- com.android.tools:sdklib:30.2.2
|         |    |    +--- com.android.tools:repository:30.2.2
|         |    |    |    +--- com.android.tools.analytics-library:shared:30.2.2 (*)
|         |    |    |    +--- com.android.tools:common:30.2.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.5.31 -> 1.7.10 (*)
|         |    |    +--- com.android.tools:common:30.2.2 (*)
|         |    |    +--- com.android.tools:dvlib:30.2.2
|         |    |    |    \--- com.android.tools:common:30.2.2 (*)
|         |    |    +--- com.android.tools.layoutlib:layoutlib-api:30.2.2 (*)
|         |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         |    |    +--- org.apache.commons:commons-compress:1.20
|         |    |    +--- org.apache.httpcomponents:httpcore:4.4.11
|         |    |    +--- org.apache.httpcomponents:httpmime:4.5.6
|         |    |    |    \--- org.apache.httpcomponents:httpclient:4.5.6 -> 4.5.9
|         |    |    |         +--- org.apache.httpcomponents:httpcore:4.4.11
|         |    |    |         +--- commons-logging:commons-logging:1.2
|         |    |    |         \--- commons-codec:commons-codec:1.11
|         |    |    \--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|         |    +--- com.android.tools.build:aapt2-proto:7.0.0-beta04-7396180 -> 7.2.2-7984345
|         |    |    \--- com.google.protobuf:protobuf-java:3.10.0
|         |    +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         |    +--- com.google.guava:guava:30.1-jre (*)
|         |    +--- com.google.protobuf:protobuf-java:3.10.0
|         |    +--- javax.inject:javax.inject:1
|         |    +--- net.sf.kxml:kxml2:2.3.0
|         |    +--- org.bouncycastle:bcpkix-jdk15on:1.56
|         |    |    \--- org.bouncycastle:bcprov-jdk15on:1.56
|         |    +--- org.bouncycastle:bcprov-jdk15on:1.56
|         |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|         |    +--- org.jetbrains.intellij.deps:trove4j:1.0.20181211 -> 1.0.20200330
|         |    +--- org.jetbrains.kotlin:kotlin-reflect:1.5.31 -> 1.7.10 (*)
|         |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    \--- xerces:xercesImpl:2.12.0
|         |         \--- xml-apis:xml-apis:1.4.01
|         +--- com.android.tools:sdklib:30.2.2 (*)
|         +--- com.android.tools:repository:30.2.2 (*)
|         +--- com.android.tools.ddms:ddmlib:30.2.2 (*)
|         +--- com.android.tools.build:aapt2-proto:7.2.2-7984345 (*)
|         +--- com.android.tools.build:aaptcompiler:7.2.2
|         |    +--- com.android.tools.build:aapt2-proto:7.2.2-7984345 (*)
|         |    +--- com.android.tools.layoutlib:layoutlib-api:30.2.2 (*)
|         |    +--- com.android.tools:common:30.2.2 (*)
|         |    +--- com.google.protobuf:protobuf-java:3.10.0
|         |    +--- com.google.guava:guava:30.1-jre (*)
|         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         +--- com.android.tools.analytics-library:crash:30.2.2
|         |    +--- com.android.tools:annotations:30.2.2
|         |    +--- com.google.guava:guava:30.1-jre (*)
|         |    +--- org.apache.httpcomponents:httpclient:4.5.9 (*)
|         |    +--- org.apache.httpcomponents:httpcore:4.4.11
|         |    \--- org.apache.httpcomponents:httpmime:4.5.6 (*)
|         +--- com.android.tools.analytics-library:shared:30.2.2 (*)
|         +--- com.android.tools.lint:lint-model:30.2.2
|         |    +--- com.android.tools.build:builder-model:7.2.2
|         |    |    +--- com.android.tools:annotations:30.2.2
|         |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    +--- com.android.tools:common:30.2.2 (*)
|         |    +--- com.android.tools:sdk-common:30.2.2 (*)
|         |    +--- net.sf.kxml:kxml2:2.3.0
|         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         +--- com.android.tools.lint:lint-typedef-remover:30.2.2
|         |    +--- com.android.tools:annotations:30.2.2
|         |    +--- com.google.guava:guava:30.1-jre (*)
|         |    \--- org.ow2.asm:asm:9.1
|         +--- androidx.databinding:databinding-compiler-common:7.2.2
|         |    +--- androidx.databinding:databinding-common:7.2.2
|         |    +--- com.android.databinding:baseLibrary:7.2.2
|         |    +--- com.android.tools:annotations:30.2.2
|         |    +--- com.android.tools.build.jetifier:jetifier-core:1.0.0-beta09
|         |    |    +--- com.google.code.gson:gson:2.8.0 -> 2.8.9
|         |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.60 -> 1.7.10 (*)
|         |    +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         |    +--- com.google.guava:guava:30.1-jre (*)
|         |    +--- com.googlecode.juniversalchardet:juniversalchardet:1.0.3
|         |    +--- com.squareup:javapoet:1.10.0
|         |    +--- commons-io:commons-io:2.4
|         |    +--- org.glassfish.jaxb:jaxb-runtime:2.3.2 (*)
|         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         +--- androidx.databinding:databinding-common:7.2.2
|         +--- com.android.databinding:baseLibrary:7.2.2
|         +--- com.android.tools.build:builder-test-api:7.2.2
|         |    +--- com.android.tools.ddms:ddmlib:30.2.2 (*)
|         |    +--- com.android.tools:annotations:30.2.2
|         |    +--- com.android.tools:common:30.2.2 (*)
|         |    \--- com.google.guava:guava:30.1-jre (*)
|         +--- com.android.tools.layoutlib:layoutlib-api:30.2.2 (*)
|         +--- com.android.tools.utp:android-device-provider-ddmlib-proto:30.2.2
|         |    \--- com.google.protobuf:protobuf-java:3.10.0
|         +--- com.android.tools.utp:android-device-provider-gradle-proto:30.2.2
|         |    \--- com.google.protobuf:protobuf-java:3.10.0
|         +--- com.android.tools.utp:android-test-plugin-host-additional-test-output-proto:30.2.2
|         |    \--- com.google.protobuf:protobuf-java:3.10.0
|         +--- com.android.tools.utp:android-test-plugin-host-coverage-proto:30.2.2
|         |    \--- com.google.protobuf:protobuf-java:3.10.0
|         +--- com.android.tools.utp:android-test-plugin-host-retention-proto:30.2.2
|         |    +--- com.google.protobuf:protobuf-java:3.10.0
|         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         +--- com.android.tools.utp:android-test-plugin-result-listener-gradle-proto:30.2.2
|         |    +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         |    +--- 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.8.9
|         |    |    +--- 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.10.0
|         |    |    +--- 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
|         +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.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
|         +--- 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
|         +--- com.android.tools.build:bundletool:1.8.2
|         |    +--- com.android.tools.build:aapt2-proto:7.0.0-beta04-7396180 -> 7.2.2-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
|         |    +--- com.google.protobuf:protobuf-java-util:3.10.0
|         |    |    +--- com.google.protobuf:protobuf-java:3.10.0
|         |    |    +--- 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.8.9
|         |    +--- 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.7.10 (*)
|         +--- com.squareup:javapoet:1.10.0
|         +--- com.google.protobuf:protobuf-java:3.10.0
|         +--- com.google.protobuf:protobuf-java-util:3.10.0 (*)
|         +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         +--- 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
|         |    \--- org.json:json:20180813
|         +--- com.google.testing.platform:core-proto:0.0.8-alpha07
|         +--- org.jetbrains.dokka:dokka-core:1.4.32 -> 1.7.10
|         |    +--- org.jetbrains.kotlin:kotlin-reflect:1.7.10 (*)
|         |    +--- org.jsoup:jsoup:1.14.3
|         |    +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.12.7
|         |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.12.7
|         |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.12.7
|         |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.7
|         |    |    |    |         +--- com.fasterxml.jackson.core:jackson-annotations:2.12.7 (c)
|         |    |    |    |         +--- com.fasterxml.jackson.core:jackson-core:2.12.7 (c)
|         |    |    |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.12.7 (c)
|         |    |    |    |         +--- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.12.7 (c)
|         |    |    |    |         +--- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.12.7 (c)
|         |    |    |    |         \--- com.fasterxml.jackson.module:jackson-module-kotlin:2.12.7 (c)
|         |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.12.7
|         |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.7 (*)
|         |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.7 (*)
|         |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.12.7 (*)
|         |    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.4.21 -> 1.7.10 (*)
|         |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.7 (*)
|         |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.12.7
|         |    |    +--- com.fasterxml.jackson.core:jackson-core:2.12.7 (*)
|         |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.12.7 (*)
|         |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.12.7 (*)
|         |    |    +--- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.12.7
|         |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.12.7 (*)
|         |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.12.7 (*)
|         |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.12.7 (*)
|         |    |    |    +--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 (*)
|         |    |    |    +--- jakarta.activation:jakarta.activation-api:1.2.1
|         |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.7 (*)
|         |    |    +--- org.codehaus.woodstox:stax2-api:4.2.1
|         |    |    +--- com.fasterxml.woodstox:woodstox-core:6.2.4
|         |    |    |    \--- org.codehaus.woodstox:stax2-api:4.2.1
|         |    |    \--- com.fasterxml.jackson:jackson-bom:2.12.7 (*)
|         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0
|         |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 (*)
|         |    +--- org.jetbrains:markdown:0.2.4
|         |    |    \--- org.jetbrains:markdown-jvm:0.2.4
|         |    |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 -> 1.7.10 (*)
|         |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0 -> 1.7.10
|         |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 (*)
|         +--- 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.2.2
|         |    +--- com.android.tools.build:builder-model:7.2.2 (*)
|         |    +--- com.android.tools.build:builder-test-api:7.2.2 (*)
|         |    +--- com.android.tools:sdklib:30.2.2 (*)
|         |    +--- com.android.tools:sdk-common:30.2.2 (*)
|         |    +--- com.android.tools:common:30.2.2 (*)
|         |    +--- com.android.tools.ddms:ddmlib:30.2.2 (*)
|         |    +--- com.android:signflinger:7.2.2
|         |    |    +--- com.android.tools:annotations:30.2.2
|         |    |    +--- com.android.tools.build:apksig:7.2.2
|         |    |    \--- com.android:zipflinger:7.2.2
|         |    |         \--- com.android.tools:annotations:30.2.2
|         |    +--- com.android.tools.analytics-library:protos:30.2.2 (*)
|         |    +--- com.android.tools.analytics-library:tracker:30.2.2
|         |    |    +--- com.android.tools.analytics-library:protos:30.2.2 (*)
|         |    |    +--- com.android.tools.analytics-library:shared:30.2.2 (*)
|         |    |    +--- com.android.tools:annotations:30.2.2
|         |    |    +--- com.android.tools:common:30.2.2 (*)
|         |    |    +--- com.google.guava:guava:30.1-jre (*)
|         |    |    +--- com.google.protobuf:protobuf-java:3.10.0
|         |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    +--- com.android.tools.layoutlib:layoutlib-api:30.2.2 (*)
|         |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    +--- 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
|         |    +--- com.googlecode.json-simple:json-simple:1.1
|         |    +--- com.android.tools.build:manifest-merger:30.2.2
|         |    |    +--- com.android.tools:common:30.2.2 (*)
|         |    |    +--- com.android.tools:sdklib:30.2.2 (*)
|         |    |    +--- com.android.tools:sdk-common:30.2.2 (*)
|         |    |    +--- com.google.code.gson:gson:2.8.6 -> 2.8.9
|         |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|         |    |    \--- net.sf.kxml:kxml2:2.3.0
|         |    +--- com.android:zipflinger:7.2.2 (*)
|         |    +--- com.android.tools.build:apksig:7.2.2
|         |    +--- com.android.tools.build:apkzlib:7.2.2
|         |    |    +--- com.android.tools.build:apksig:7.2.2
|         |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|         |    |    +--- com.google.guava:guava:30.1-jre (*)
|         |    |    +--- org.bouncycastle:bcpkix-jdk15on:1.56 (*)
|         |    |    \--- org.bouncycastle:bcprov-jdk15on:1.56
|         |    \--- com.squareup:javawriter:2.5.0
|         +--- com.android.tools.build:builder-model:7.2.2 (*)
|         \--- com.android.tools.build:gradle-api:7.2.2
|              +--- com.android.tools.build:builder-test-api:7.2.2 (*)
|              +--- com.google.guava:guava:30.1-jre (*)
|              +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.7.10 (*)
|              \--- org.ow2.asm:asm:9.1
+--- com.android.library:com.android.library.gradle.plugin:7.2.2
|    \--- com.android.tools.build:gradle:7.2.2 (*)
+--- org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin:1.7.10
|    \--- org.jetbrains.dokka:dokka-gradle-plugin:1.7.10
|         \--- org.jetbrains.dokka:dokka-core:1.7.10 (*)
vmishenev commented 2 years ago

This is a known issue #2472. There is a workaround.

hfhbd commented 2 years ago

Thanks!