Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
16ef9f2
Update to Android SDK 35 (#579)
gaglileo Feb 28, 2025
16a2881
Version update (#582)
dommy1985 Mar 3, 2025
9f5fbb6
Added Facebook Core SDK (#580)
gaglileo Mar 3, 2025
b135338
Align dev for release 6.17.1 (#583)
dommy1985 Mar 11, 2025
5307eb9
Fix Test (#584)
dommy1985 Mar 12, 2025
189d2bb
Version fix (#586)
dommy1985 Mar 19, 2025
6fd4b05
Upload libraries (#588)
gaglileo Mar 20, 2025
10c9a38
Bug Fix Sca (#591)
dommy1985 Mar 24, 2025
b194283
Align commonView and transpo versions from hotfix (#593)
gaglileo Mar 26, 2025
a86a08c
Update libs for telepass (#594)
gaglileo Mar 27, 2025
db9e04d
Update Lib (#595)
dommy1985 Mar 28, 2025
d175f1d
Upload lib RC 6.19.0 (#596)
gaglileo Mar 28, 2025
f8f3516
Done #2470 (#598)
dommy1985 Apr 7, 2025
94fe4b0
Update Turbine (#600)
dommy1985 Apr 8, 2025
a62ae84
Update Android libraries (#564)
dommy1985 Apr 9, 2025
b8a10e4
Upload ATAC to 2.1.9 (#602)
gaglileo Apr 9, 2025
8cd2093
Update Depedencies (#604)
dommy1985 Apr 9, 2025
73014bb
Update Lib (#605)
dommy1985 Apr 11, 2025
971b84e
Update Libs (#606)
dommy1985 Apr 11, 2025
eadf7a1
Fix ATAC Crash (#608)
gaglileo Apr 15, 2025
f3c3913
Version Update (#610)
dommy1985 Apr 28, 2025
56ae3ce
Upload libs for Release 6.19.3 (#612)
gaglileo May 6, 2025
296a20f
Version update (#614)
dommy1985 May 16, 2025
7316579
ATAC update 2.2.2 (#616)
gaglileo May 23, 2025
58206ec
Version asti (#618)
dommy1985 May 27, 2025
b12d9be
Upload libs for Added multi_day icon (#621)
gaglileo May 29, 2025
9a3c956
Done #2630 (#620)
dommy1985 Jun 5, 2025
3b6444c
Security/rvapt 1199 (#622)
dommy1985 Jun 9, 2025
d710571
Version update (#623)
dommy1985 Jun 10, 2025
97b6305
Version update
dommy1985 Jun 10, 2025
a363791
Fix crash unreachable variable (#624)
gaglileo Jun 11, 2025
5d72d5d
Done #2639 (#626)
dommy1985 Jun 11, 2025
9b2da81
Update Onfido (#628)
gaglileo Jun 12, 2025
a87c67d
feat: maas kappa future festival 25 (#625)
ilkerurbi Jun 13, 2025
8395f3c
Upload version (#629)
dommy1985 Jun 13, 2025
d388395
#2530 | Create BoM for Urbi SDK (#615)
gaglileo Jun 16, 2025
769b876
Version update (#630)
dommy1985 Jun 16, 2025
cb2d125
Version Update (#633)
dommy1985 Jun 18, 2025
863ab71
#2650 | Upload libs (#632)
gaglileo Jun 24, 2025
1303d44
Upload libs for Release 6.21.1 (#634)
gaglileo Jun 24, 2025
dd00df6
Version update (#635)
dommy1985 Jun 25, 2025
7a993f3
Version Lib (#636)
dommy1985 Jun 26, 2025
d8a6015
Update libs (#639)
gaglileo Jul 10, 2025
8784d9a
Update version lib (#642)
dommy1985 Jul 15, 2025
1225ec0
Update bom script (#638)
dommy1985 Jul 22, 2025
e07a02b
Fix BoM details for Telepass (#641)
gaglileo Jul 22, 2025
4c47d12
Version bump 6.21.3
dommy1985 Aug 18, 2025
e5211e7
Update pre-commit
dommy1985 Aug 18, 2025
26bb346
Fixed automation for issues and PRs (#649)
gaglileo Sep 1, 2025
c895794
16KB page size support (#646)
gaglileo Sep 1, 2025
ae160f2
Fix #2729 (#651)
dommy1985 Sep 9, 2025
4703720
Version 6.21.4 (#653)
dommy1985 Sep 11, 2025
87cd791
feat: navigation to tripo payment fragment (#645)
ilkerurbi Sep 29, 2025
90d4fe7
Version 6.22.0
dommy1985 Sep 29, 2025
2fe6db4
Version 6.22.0
dommy1985 Sep 29, 2025
07447c1
Upload libs for 6.22.1 (#655)
gaglileo Oct 2, 2025
774fb97
Uploaded libs (#656)
gaglileo Oct 8, 2025
77d9f84
Uploaded libs for 6.22.3 (#658)
gaglileo Oct 21, 2025
8cdabc3
#2721 | Update Compose BoM (#654)
dommy1985 Oct 28, 2025
b905bac
Fix for urbi Pay (#663)
dommy1985 Oct 29, 2025
da31021
Version 6.22.5
dommy1985 Oct 30, 2025
02c29f2
Fix
dommy1985 Oct 30, 2025
2a6755b
Uploaded libs for 6.22.6 (#665)
gaglileo Nov 4, 2025
95d6485
Rename drawable (#667)
gaglileo Nov 6, 2025
e4d475f
Release 6.22.7 (#669)
gaglileo Nov 12, 2025
9c4675c
Version 6.23
dommy1985 Nov 20, 2025
5907121
Version 6.23.0
dommy1985 Nov 21, 2025
8692679
Add fix script (#673)
dommy1985 Dec 3, 2025
86b60fb
Version 6.24.0 (#675)
dommy1985 Dec 18, 2025
1bdb3a8
Release 6.24.0 (#676)
gaglileo Jan 5, 2026
f9a3275
Done #2793 (#678)
dommy1985 Jan 14, 2026
474b17b
Migrate toml (#679)
dommy1985 Jan 19, 2026
dfc590d
feat: Add documentation for main important class (#680)
dommy1985 Jan 19, 2026
36ee9a8
feat: Added configuration for pubblic repository
dommy1985 Jan 19, 2026
54732b1
Upload libs for Telepass (#682)
gaglileo Jan 28, 2026
0ae3645
#2844 | Multi-Tenant new HIVE Login (#674)
gaglileo Jan 30, 2026
0762318
Updated libs for 6.25.1 (#685)
gaglileo Feb 4, 2026
31288b8
Merge branch 'develop' into feature/maven
mammad-urbi Feb 5, 2026
d96480c
Merge pull request #687 from urbi-mobility/feature/maven
mammad-urbi Feb 5, 2026
b4deaa0
Uploaded libs for 6.25.2 (#688)
gaglileo Feb 13, 2026
2c57c73
Uploaded libs for bugfixing (#690)
gaglileo Feb 13, 2026
ef46f3c
Uploaded libs (#692)
gaglileo Feb 18, 2026
451bb68
feat: (#695)
dommy1985 Feb 24, 2026
0dfa056
bug(notifications): Report hotfix (#697)
gaglileo Feb 25, 2026
47721f4
bug(tripo): report hotfix version (#698)
gaglileo Mar 5, 2026
adbd995
Release 6.26.2 (#701)
gaglileo Mar 17, 2026
e955fe2
Release app 6.26.3 for logout investigation (#704)
gaglileo Mar 30, 2026
337361e
fix: update androidx.navigation to 2.9.3 (#699)
dommy1985 Apr 1, 2026
29e1fb3
Upload libs for RC 6.26.4 (#706)
gaglileo Apr 14, 2026
419f498
TELPISO-8447 | Purchased tickets NOT fetched (#710)
gaglileo Apr 17, 2026
b521b0c
#3136 | Login Apple/Google e flusso Migrazione (#715)
gaglileo Jun 3, 2026
87ed97f
Refactoring Social Login (#721)
dommy1985 Jun 8, 2026
feec6e3
BoM changelog auto-generation and GitHub Release (#718)
gaglileo Jun 10, 2026
ec875da
feat(atac_tkt): #3192 | Delete Legacy ATAC (#714)
gaglileo Jun 12, 2026
6681b26
Aggiornamento dipendenze build e rimozione chiave Telepass (#720)
gaglileo Jun 16, 2026
a2c10cc
Upload librerie 6.28.0 (#723)
gaglileo Jun 17, 2026
022b765
Merge branch 'master' into release/6.28.0
gaglileo Jun 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 135 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,137 @@
# android-scripts
This is an utility repo that contain scripts for use in our private repo sdk,
in particular is used as submodule for repos:
* [android-telepass-pay-framework](https://github.com/urbi-mobility/android-telepass-pay-framework)
* [android-urbi-unica-framework](https://github.com/wise-emotions/android-urbi-unica-framework)

Utility submodule used by `android-urbi-framework` (and other Urbi repos).
Contains Gradle scripts for version management, changelog automation, and library publishing.

---

## Contents

| Path | Purpose |
|---|---|
| `scripts/build.gradle.kts` | Publishing tasks: version bump, changelog update, BoM publish, GitHub Release |
| `gradle/depend.gradle` | Module version definitions (`//---Module Version---//` block) |
| `gradle/libs-urbi.versions.toml` | Version catalog, including the `urbi-bom` version (date-based) |

---

## Gradle Tasks

### `update-version-lib-changelog`
**Main entry point for a full publish cycle.**

Reads `[Unreleased]` sections from all module changelogs, aggregates them into `urbisample/changelog.md`, updates the BoM version in the TOML to today's date, then delegates to `upgrade-lib-version`.

```bash
# Default (patch bump)
./gradlew update-version-lib-changelog

# Minor or major bump
./gradlew update-version-lib-changelog -Dargs=minor
./gradlew update-version-lib-changelog -Dargs=major
```

---

### `upgrade-lib-version`
Reads module changelogs for pending `[Unreleased]` entries, bumps the affected library versions in `depend.gradle`, then:

1. Writes a new entry to `bom/CHANGELOG.md` (see [BoM Changelog](#bom-changelog))
2. Creates a GitHub Release on `android-urbi-framework` (see [GitHub Release](#github-release))
3. Publishes the BoM to GitHub Packages (`bom:publishAllBom`)
4. Uploads all changed libraries (`uploadlib`)

```bash
./gradlew upgrade-lib-version # patch bump, publishes GitHub Release
./gradlew upgrade-lib-version -Dargs=minor
./gradlew upgrade-lib-version -PskipRelease=true # skip GitHub Release creation
```

---

### `uploadlib`
Publishes all libraries with pending changes to GitHub Packages.
For each module: replaces the `[Unreleased]` section with the new versioned entry in its `changelog.md`, then publishes the artifact.

```bash
./gradlew uploadlib
./gradlew uploadlib -Pargs=skipService # skip copyServicesProvider
```

---

### `release-bom`
**Standalone BoM release — no lib upload required.**

For each module, looks up its current version in `depend.gradle` and reads the matching versioned section in its `changelog.md` (e.g. `## [UTL_6.26.6]`). Writes `bom/CHANGELOG.md`, publishes the BoM to GitHub Packages, and creates a GitHub Release.

Use this when:
- You uploaded one or more libraries via `uploadlib` (or any other flow) and want to cut a new BoM release.
- You want to publish a new BoM snapshot from the current state of all library versions without running a full upload cycle.

```bash
./gradlew release-bom # all modules with versioned entries
./gradlew release-bom -Pmodules=utilitylib,composeds # explicit subset
./gradlew release-bom -PskipRelease=true # skip GitHub Release creation
```

---

### `update-version-lib`
Lighter version of `upgrade-lib-version`: bumps versions and uploads libs, but does **not** update the BoM version, write the BoM changelog, or create a GitHub Release.

---

## BoM Changelog

`bom/CHANGELOG.md` (in `android-urbi-framework`) is auto-generated on every `upgrade-lib-version` run.

**Format:**
```markdown
## [2026.05.28] 2026-05-28

### composeds — 3.4.1
- #3027 | Fix orderId nella navigazione al dettaglio storico

### utilitylib — 6.26.5
- #3100 | Updated button style
```

Each entry lists only the modules that had `[Unreleased]` changes, with their new version and the individual changelog bullets. The BoM version matches the date in `libs-urbi.versions.toml` (`yyyy.MM.dd`).

---

## GitHub Release

A GitHub Release on `urbi-mobility/android-urbi-framework` is created automatically with tag `bom-<version>` (e.g., `bom-2026.05.28`) and the same content written to `bom/CHANGELOG.md`.

**Default behaviour:** Release is created on every `upgrade-lib-version` run.

**To skip** (e.g., dry-run or CI test):
```bash
./gradlew upgrade-lib-version -PskipRelease=true
```

Requires the `gh` CLI to be authenticated in the environment (`gh auth login`).

---

## Version Management

Module versions live in `gradle/depend.gradle` between the `//---Module Version---//` and `//---End---//` markers:

```groovy
//---Module Version---//
utilityVersion = '6.26.5'
modelVersion = '3.12.0'
// ...
//---End---//
```

The BoM version is separate, in `gradle/libs-urbi.versions.toml`:
```toml
[versions]
urbi-bom = "2026.05.28"
```

It is updated automatically by `update-version-lib-changelog` to today's date before each publish cycle.
53 changes: 18 additions & 35 deletions gradle/depend.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ ext {
ghp_registry_name_third = 'GitHubPackages-Third'
urbiGroupId = 'co.urbi.android'
urbiGroupThirdId = 'co.urbi.third'
telepassGroupId = 'com.telepass.urbi'
urbi_ghp_registry_url = 'https://maven.pkg.github.com/urbi-mobility/android-urbi-framework'
telepass_ghp_registry_url = 'https://maven.pkg.github.com/wise-emotions/android-urbi-unica-framework'
telepass_urbi_ghp_registry_url = 'https://maven.pkg.github.com/wise-emotions/android-urbi-framework'
urbi_third_ghp_registry_url = 'https://maven.pkg.github.com/urbi-mobility/android-third-party-package-lib'
suffixArtifactId='third'
Expand All @@ -22,7 +20,6 @@ ext {
taxiId = 'taxi'
scanId = 'scan'
transpoId = 'transpo'
atacId = 'atac'
evchargingId = 'evcharging'
tripoId = 'tripo'
mobilitySharingId = 'mobilitysharing'
Expand All @@ -36,45 +33,35 @@ ext {
shopId = 'shop'
loginId = 'login'

telepassModelId = 'telepassmodel'
telepassNetworkId = 'telepassnetwork'
telepassLibId = 'telepasslib'

//---Module Version---//
utilityVersion = '4.1.3'
designsystemVersion = '3.1.4'
modelVersion = '4.1.7'
coreVersion = '4.1.6'
payVersion = '3.1.4'
ticketVersion = '1.0.3'
searchVersion = '2.0.9'
taxiVersion = '3.1.4'
scanVersion = '2.1.2'
transpoVersion = '3.1.3'
evchargingVersion = '3.1.5'
tripoVersion = '3.1.5'
mobilitySharingVersion = '4.1.4'
commonStateVersion = '2.1.9'
commonViewVersion = '2.1.7'
composeNavigationVersion = '1.0.7'
composeDsVersion = '2.1.4'
utilityVersion = '4.1.4'
designsystemVersion = '3.1.5'
modelVersion = '4.1.8'
coreVersion = '4.1.7'
payVersion = '3.1.5'
ticketVersion = '1.0.4'
searchVersion = '2.0.10'
taxiVersion = '3.1.5'
scanVersion = '2.1.3'
transpoVersion = '3.1.4'
evchargingVersion = '3.1.6'
tripoVersion = '3.1.6'
mobilitySharingVersion = '4.1.5'
commonStateVersion = '2.1.10'
commonViewVersion = '2.1.8'
composeNavigationVersion = '1.0.8'
composeDsVersion = '2.1.5'
historyVersion = '0.4.0'
mapVersion = '0.4.0'
profileVersion = '0.4.0'
shopVersion = '0.4.0'
loginVersion = '2.1.8'
loginVersion = '2.1.9'

telepassModelVersion = '2.7.0'
telepassNetworkVersion = '2.10.0'
telepassLibCode = '7'
telepassLibVersion = '2.13.' + telepassLibCode
//---End---//
atacVersion = '2.2.2'
urbiBomId = 'bom'
urbiBomThirdId = 'bomthird'
// BOM versions unified from libs-urbi.versions.toml
urbiBomVersion = libsUrbi.versions.urbi.bom.get()
urbiTelepassBomVersion = "$urbiBomVersion"
urbiThirdBomVersion = "$urbiBomVersion"
// Android
android_version_array = ["utility", utilityVersion, "designsystem", designsystemVersion, "modelVersion", modelVersion, "coreVersion", coreVersion, "pay", payVersion, "ticket", ticketVersion, "search", searchVersion, "taxi", taxiVersion,
Expand All @@ -85,10 +72,6 @@ ext {
target_sdk_version = 35
ndk_version = '28.2.13676358'


//ATAC
atac = "$urbiGroupId:$atacId:$atacVersion@aar"

// URBI

designsystem = "$urbiGroupId:$designsystemId"
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs-urbi.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
accompanist_compose = "0.37.3"
adapter-delegates4 = "4.3.2"
android-gradle-plugin = "8.11.2"
android-gradle-plugin = "8.13.2"
android-material = "1.13.0"
androidx-activity = "1.11.0"
androidx-camera = "1.4.2"
Expand Down Expand Up @@ -33,7 +33,7 @@ androidx-test-runner = "1.6.2"
androidx-work-manager = "2.8.1"
androidx-web-kit = "1.12.1"
commons-codec = "1.15"
dagger = "2.57.2"
dagger = "2.58"
dependencyGuard = "0.5.0"
dokka = "1.9.20"
facebook = "latest.release"
Expand Down Expand Up @@ -64,11 +64,11 @@ json-test = "20250107"
jmrtd = "0.7.18"
junit = "4.13.2"
jwt-decode = "2.0.2"
kotlin = "2.2.20"
kotlin = "2.3.21"
kotlinx-coroutines = "1.10.2"
kotlinter = "5.2.0"
kustomer = "4.2.1"
ksp-plugin = "2.2.20-2.0.4"
ksp-plugin = "2.3.9"
landscapist-glide = "1.5.2"
lottie = "6.4.1"
material-datetime-picker = "4.2.3"
Expand Down Expand Up @@ -101,7 +101,7 @@ timber = "5.0.1"
tink = "1.20.0"
urbi-kit = "1.0.0"
sonatype-central-portal = "1.2.4"
urbi-bom = "2026.06.05"
urbi-bom = "2026.06.16"

[libraries]
adapterdelegates4-kotlin = { group = "com.hannesdorfmann", name = "adapterdelegates4-kotlin-dsl", version.ref = "adapter-delegates4" }
Expand Down
Loading
Loading