Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add adbserver plugin and setup publication (with CI fix) #631

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from

fix errors

4098f3a
Select commit
Loading
Failed to load commit list.
Draft

add adbserver plugin and setup publication (with CI fix) #631

fix errors
4098f3a
Select commit
Loading
Failed to load commit list.
Cirrus CI / Run Android instrumented tests on API 30 failed Feb 6, 2024 in 3m 40s

Task Summary

Instruction assemble_instrumented_tests failed in 01:44

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:08 clone
✅ 00:59 install_de
✅ 00:00 start_de
✅ 00:01 accept_licenses
✅ 00:37 install_emulator
✅ 00:01 create_avd
✅ 00:00 start_avd
❌ 01:44 assemble_instrumented_tests

Starting a Gradle Daemon (subsequent builds will be faster)
Type-safe project accessors is an incubating feature.
Project accessors enabled, but root project name not explicitly set for 'samples'. Checking out the project in different folders will impact the generated code and implicitly the buildscript classpath, breaking caching.
> Task :build-logic:checks:generateExternalPluginSpecBuilders
> Task :build-logic:checks:extractPrecompiledScriptPluginPlugins
> Task :build-logic:checks:compilePluginsBlocks
> Task :build-logic:checks:generatePrecompiledScriptPluginAccessors
> Task :build-logic:checks:generateScriptPluginAdapters
> Task :build-logic:checks:pluginDescriptors
> Task :build-logic:checks:processResources
> Task :build-logic:third-party-report:generateExternalPluginSpecBuilders
> Task :build-logic:third-party-report:extractPrecompiledScriptPluginPlugins
> Task :build-logic:third-party-report:compilePluginsBlocks
> Task :build-logic:third-party-report:generatePrecompiledScriptPluginAccessors
> Task :build-logic:third-party-report:generateScriptPluginAdapters
> Task :build-logic:third-party-report:pluginDescriptors
> Task :build-logic:third-party-report:processResources
> Task :build-logic:third-party-report:compileKotlin
> Task :build-logic:third-party-report:compileJava NO-SOURCE
> Task :build-logic:third-party-report:classes
> Task :build-logic:third-party-report:inspectClassesForKotlinIC
> Task :build-logic:third-party-report:jar

> Task :build-logic:checks:compileKotlin FAILED
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/META-INF/gradle-versions-plugin.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /tmp/cirrus-ci-build/build-logic/checks/build/generated-sources/kotlin-dsl-accessors/kotlin/gradle/kotlin/dsl/accessors/_b90e2aef8718dd117ca1274e8cc1d5b4/Accessorsdmnqi2af4l8odyswoz268n44q.kt: (65, 97): Class 'com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/com/github/benmanes/gradle/versions/updates/DependencyUpdatesTask.class
e: /tmp/cirrus-ci-build/build-logic/checks/build/generated-sources/kotlin-dsl-accessors/kotlin/gradle/kotlin/dsl/accessors/_b90e2aef8718dd117ca1274e8cc1d5b4/Accessorsdmnqi2af4l8odyswoz268n44q.kt: (66, 63): Class 'com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/com/github/benmanes/gradle/versions/updates/DependencyUpdatesTask.class
e: /tmp/cirrus-ci-build/build-logic/checks/src/main/kotlin/convention.dependency-updates.gradle.kts: (1, 52): Class 'com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/com/github/benmanes/gradle/versions/updates/DependencyUpdatesTask.class
e: /tmp/cirrus-ci-build/build-logic/checks/src/main/kotlin/convention.dependency-updates.gradle.kts: (7, 16): Class 'com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/com/github/benmanes/gradle/versions/updates/DependencyUpdatesTask.class
e: /tmp/cirrus-ci-build/build-logic/checks/src/main/kotlin/convention.dependency-updates.gradle.kts: (8, 5): Class 'com.github.benmanes.gradle.versions.updates.resolutionstrategy.ComponentFilter' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/com/github/benmanes/gradle/versions/updates/resolutionstrategy/ComponentFilter.class
e: /tmp/cirrus-ci-build/build-logic/checks/src/main/kotlin/convention.dependency-updates.gradle.kts: (9, 21): Class 'com.github.benmanes.gradle.versions.updates.resolutionstrategy.ComponentSelectionWithCurrent' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /root/.gradle/caches/modules-2/files-2.1/com.github.ben-manes/gradle-versions-plugin/0.50.0/2660cb766360ef0ba45241fc71c13f3f35142303/gradle-versions-plugin-0.50.0.jar!/com/github/benmanes/gradle/versions/updates/resolutionstrategy/ComponentSelectionWithCurrent.class

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':build-logic:checks:compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

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

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 44s
18 actionable tasks: 18 executed