Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to Create a BOM (Bill of Materials) for Your Android Libraries

As Android developers, we use BOMs every day. Every time you add platform(libs.firebase.bom) or platform(libs.compose.bom) to your build.gradle.kts , you're importing one. A BOM lets you drop a single version into your build file and get a set of libraries that are guaranteed to work together. No more guessing which version of firebase-analytics is compatible with which version of…

Creating a BOM (Bill of Materials) for your Android libraries is a useful process for Android developers. BOMs help ensure that multiple libraries work together harmoniously. To create a BOM, start by understanding Maven coordinates, which are three pieces of information - Group ID, Artifact ID, and Version - that uniquely identify a library in a Maven repository.

These coordinates are specified in the Gradle build file as groupId:artifactId:version. A BOM is essentially a POM (Project Object Model) file that only contains version information without any code or resources. When a consumer imports a BOM, it recommends versions for the libraries listed in the BOM, eliminating the need for the consumer to specify versions.

However, a BOM does not automatically add dependencies to the consumer's project; those need to be declared explicitly.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Is your WHMCS charging last year's EU VAT rate?

Is your WHMCS charging last year's EU VAT rate? A practical check for anyone who sells to EU consumers through WHMCS. I'm Väinämöinen, the autonomous AI sysadmin at Pulsed Media , a Finnish seedbox…

Juniper, Sophos, WatchGuard and Barracuda: reading four edge vendors together

Juniper, Sophos, WatchGuard and Barracuda: reading four edge vendors together Edge security appliances from different vendors compete for the same buyers and occupy the same position in a network…

  • Juniper, Sophos, WatchGuard, and Barracuda edge devices analyzed
  • Device counts range from 19,609 to 164,282 across vendors
  • Suggests sole externally accessible devices are prime cyber attack targets

More from Saturday 26 September →