Skip to content

POC only: Bifrost - #734

Draft
Cervator wants to merge 4 commits into
MovingBlocks:developfrom
SiliconSaga:bifrost
Draft

POC only: Bifrost#734
Cervator wants to merge 4 commits into
MovingBlocks:developfrom
SiliconSaga:bifrost

A few more tweaks

a89e4e1
Select commit
Loading
Failed to load commit list.
Terasology Jenkins.io / Jenkins failed Aug 14, 2026 in 19m 56s

Build Android: error in 'sh' step

Build Android / Shell Script

Error in sh step, with arguments ./gradlew :android:assembleDebug.

script returned exit code 1
Build log
+ ./gradlew :android:assembleDebug
Configuration on demand is an incubating feature.
Module modules:core has a build file so counting it complete and including it
> Task :build-logic:extractPluginRequests UP-TO-DATE
> Task :build-logic:generatePluginAdapters UP-TO-DATE
> Task :build-logic:compileJava UP-TO-DATE
> Task :build-logic:compileGroovy NO-SOURCE
> Task :build-logic:compileGroovyPlugins UP-TO-DATE
> Task :build-logic:pluginDescriptors UP-TO-DATE
> Task :build-logic:processResources UP-TO-DATE
> Task :build-logic:classes UP-TO-DATE
> Task :build-logic:jar UP-TO-DATE
[=========                              ] 25%                                   
Checking the license for package Android SDK Platform-Tools in /opt/android-sdk/licenses
License for package Android SDK Platform-Tools accepted.
Preparing "Install Android SDK Platform-Tools v.37.0.1".
"Install Android SDK Platform-Tools v.37.0.1" ready.
Installing Android SDK Platform-Tools in /opt/android-sdk/platform-tools
"Install Android SDK Platform-Tools v.37.0.1" complete.
"Install Android SDK Platform-Tools v.37.0.1" finished.
> Task :android:preBuild UP-TO-DATE
> Task :android:preDebugBuild UP-TO-DATE
> Task :android:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :engine:compileJava UP-TO-DATE
> Task :engine:processResources UP-TO-DATE
> Task :engine:classes UP-TO-DATE
> Task :engine:jar UP-TO-DATE
> Task :android:copyAndroidNatives
> Task :android:generateDebugResources
> Task :android:packageDebugResources
> Task :android:processDebugNavigationResources
> Task :android:parseDebugLocalResources
> Task :android:generateDebugRFile
> Task :android:compileDebugKotlin NO-SOURCE
> Task :android:javaPreCompileDebug
> Task :android:compileDebugJavaWithJavac
> Task :android:exportModuleEngineByCopy
> Task :android:exportModulecoreByCopy
> Task :android:generateDebugAssets UP-TO-DATE
> Task :android:mergeDebugAssets
> Task :android:compressDebugAssets
> Task :android:generateDebugGlobalSynthetics
> Task :android:processDebugJavaRes NO-SOURCE
> Task :android:mergeDebugJavaResource
> Task :android:l8DexDesugarLibDebug
> Task :android:desugarDebugFileDependencies
> Task :android:checkDebugDuplicateClasses FAILED
> Task :android:checkDebugAarMetadata

[Incubating] Problems report is available at: file:///home/jenkins/agent/workspace/DestinationSol_engine_PR-734/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':android:checkDebugDuplicateClasses' (registered by plugin 'com.android.internal.application').
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class com.google.api.AnnotationsProto found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.CustomHttpPattern found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.CustomHttpPattern$1 found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.CustomHttpPattern$Builder found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.CustomHttpPatternOrBuilder found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.Http found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.Http$1 found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.Http$Builder found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpOrBuilder found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpProto found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpRule found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpRule$1 found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpRule$2 found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpRule$Builder found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpRule$PatternCase found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class com.google.api.HttpRuleOrBuilder found in modules nakama-java-2.5.3.jar -> nakama-java-2.5.3 (com.github.heroiclabs.nakama-java:nakama-java:2.5.3) and proto-google-common-protos-2.41.0.jar -> proto-google-common-protos-2.41.0 (com.google.api.grpc:proto-google-common-protos:2.41.0)
     Duplicate class org.slf4j.impl.StaticLoggerBinder found in modules slf4j-android-1.7.25.jar -> slf4j-android-1.7.25 (org.slf4j:slf4j-android:1.7.25) and slf4j-simple-1.7.36.jar -> slf4j-simple-1.7.36 (org.slf4j:slf4j-simple:1.7.36)
     Duplicate class org.slf4j.impl.StaticMDCBinder found in modules slf4j-android-1.7.25.jar -> slf4j-android-1.7.25 (org.slf4j:slf4j-android:1.7.25) and slf4j-simple-1.7.36.jar -> slf4j-simple-1.7.36 (org.slf4j:slf4j-simple:1.7.36)
     Duplicate class org.slf4j.impl.StaticMarkerBinder found in modules slf4j-android-1.7.25.jar -> slf4j-android-1.7.25 (org.slf4j:slf4j-android:1.7.25) and slf4j-simple-1.7.36.jar -> slf4j-simple-1.7.36 (org.slf4j:slf4j-simple:1.7.36)
     
     Learn how to fix dependency resolution errors at https://d.android.com/r/tools/classpath-sync-errors

* 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 from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.6.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 49s
28 actionable tasks: 18 executed, 10 up-to-date

Details

  • Declarative: Checkout SCM (27 sec)
    • Setup (4.3 sec)
    • Build (7 min 30 sec)
    • Analytics (6 min 43 sec)
    • Record (1 min 43 sec)
    • Build Android (2 min 59 sec)
      Error: script returned exit code 1
    • Record Android (2.1 sec)
    • Notify (1.6 sec)
    • Publish to Play Store (20 sec)
      • Prepare Fastlane (1.6 sec)
      • Create Release APK (1.7 sec)
      • Target release channel (14 sec)
        • Publish Alpha To Play Store (4 ms)
          • Publish Alpha To Play Store (5.9 sec)
        • Publish Beta To Play Store (5 ms)
          • Publish Beta To Play Store (6 sec)
        • Publish Live To Play Store (12 sec)
          • Publish Live To Play Store (6 sec)