Comparing opensrp:master...BlueCodeSystems:master · opensrp/opensrp-client-utils

Commits on Sep 25, 2025

  1. build(root): upgrade gradle toolchain

    Switch the project to the Gradle plugins DSL with Gradle 8.7 and AGP
    8.6.0, and expand shared repositories and dependency substitutions to
    cover BlueCode artifacts and the local utils module. Add strict JDK 17
    `--add-opens` JVM settings, cap worker concurrency, and declare the NDK
    26.2 alongside SDK 35 coordinates.
    
    Update plugin management in settings.gradle, ensure the wrapper uses the
    bin distribution, and extend JitPack CI to install platform 35, build
    tools 35.0.0, and the required NDK before publishing to Maven Local.
    
    Verified by running `./gradlew :opensrp-utils:assembleRelease` on JDK 17.
    Configuration menu

    Browse the repository at this point in the history

  2. build(library): modernize utils module build

    Migrate the library to the SDK 35/AGP 8.6 DSL, enable BuildConfig,
    and tighten unit test configuration with JDK 17 `--add-opens` flags and
    Robolectric defaults. Refresh AndroidX, Mockito, and SQLCipher test
    dependencies, add packaging excludes, and expose sources/javadoc jars via
    Jacoco-backed reporting.
    
    Replace the legacy maven/`uploadArchives` script with `maven-publish`
    plus optional Central bundle helpers, checksum generation, and
    conditional signing. Drop the manifest package declaration and add a
    Robolectric properties file to stabilise unit tests.
    
    Verified with `./gradlew :opensrp-utils:testDebugUnitTest` and
    `:opensrp-utils:packageReleaseZip`.
    Configuration menu

    Browse the repository at this point in the history

  3. build(sample): align sample app with sdk 35 toolchain

    Adopt the plugins DSL and upgrade the sample app to compile/target SDK
    35 with build tools 35.0.0, desugaring, and AndroidX dependency refresh.
    Add resource packaging excludes and reuse the library version name for
    consistency.
    
    Clean up the manifest for namespace-based builds, override the theme
    conflict via `tools:replace`, and mark the launcher activity as exported
    to satisfy Android 13 requirements.
    
    Verified with `./gradlew :app:assembleDebug`.
    Configuration menu

    Browse the repository at this point in the history

  4. build(gradle): eliminate configuration-time resolution warnings

    Drop the self-substitution of io.github.bluecodesystems:opensrp-client-utils
    and instead exclude the legacy artifact from higher-level dependencies.
    This prevents AGP from resolving key configurations at configuration time
    while still avoiding duplicate namespace clashes.
    
    Add a minimal placeholder unit test so Gradle always executes at least one
    spec, keeping the build quiet on Gradle 8.7+.
    
    Verified with `./gradlew :opensrp-utils:testDebugUnitTest --warning-mode all`
    and `./gradlew :app:assembleDebug --warning-mode all`.
    Configuration menu

    Browse the repository at this point in the history

  5. Configuration menu

    Browse the repository at this point in the history

  6. Configuration menu

    Browse the repository at this point in the history

  7. Configuration menu

    Browse the repository at this point in the history