BUILD INFORMATION / ERSTELLUNGSINFORMATIONEN

Artifact: Supernote CalDAV 0.6.21, version code 29.
SHA-256: 0a3c87750f384153f046e70dd9679a0cc9d99c59a49349307c88c9550af0c277
AGP 9.2.1; compile SDK 36; minimum API 30; Java target 11.
Actual D8/R8 compiler: 9.2.14; release mode.
Exact compiler markers and runtime components: metadata/components.json.

DESUGAR LIBRARY
The complete upstream source repository at revision
73170c345e6a762fc6a1f0301bb15218850023ef is in
sources/desugar-jdk-libs-2.1.5-source.zip. VERSION_JDK11.txt specifies 2.1.5.
The archive retains BUILD, WORKSPACE, repositories, build scripts, sources,
original GPL/ClassPath exception notices and dependency declarations.
From the extracted source root, upstream build targets are:
  bazel build //:desugar_jdk_libs
  bazel build //:maven_release_jdk11
Configure Android SDK access as required by android_sdk_repository.
The original Maven library/configuration jars and POMs are included under
build-inputs/desugar/. Rebuilding that library does not require own app sources.

Transformation tool: official R8 9.2.14, downloadable from
https://storage.googleapis.com/r8-releases/raw/9.2.14/r8.jar
Use JDK 17 and Android API 36 android.jar. Extract
META-INF/desugar/d8/desugar.json from the supplied configuration jar.
A standalone transformation of the library portion uses:
  java -cp r8.jar com.android.tools.r8.L8 --release --min-api 30 \
    --desugared-lib desugar.json --lib android.jar \
    --output library-dex.zip build-inputs/desugar/desugar_jdk_libs-2.1.5.jar
The actual release keep rules are in build-inputs/desugar/keep_rules.txt.
For the release-specific shrinking result, add this argument to L8:
  --pg-conf build-inputs/desugar/keep_rules.txt
The exact distributed library-only DEX is also supplied under
build-inputs/desugar-library/. It contains one library class definition
and no application class. Official L8 9.2.14 was tested with the original
keep rules: the one class and method were rebuilt with no missing API.
Classpath-exception rights are retained.

TESTED LIBRARY-ONLY REBUILD ROUTE (Python 3, JDK 17, Android SDK API 36)
From this companion's root:
  python3 tools/fetch_build_tool.py
Use the fetched JAR and your API 36 SDK android.jar:
  python3 tools/rebuild_library.py --r8 build-tools/r8-9.2.14.jar \
    --android-jar /path/to/android-sdk/platforms/android-36/android.jar
The runner extracts desugar.json, supplies the included original/reconstructed keep
rules, invokes L8 and checks all original class/method/field descriptors
as well as the required app-to-library API. Full logs and verification.json
are written to rebuilt-library/. The fetched compiler's pinned URL and
SHA-256 are in metadata/build-tool.json. Existing library input JARs,
source archives and the original DEX remain unchanged.
The tested route transforms the included original JVM library input.
The upstream source-to-JVM Bazel targets above are documented and supplied,
but compiling that entire upstream repository was not run for this package.

PUBLIC SUFFIX LIST
Editable exact source, original gzip, MPL licence and standalone verifier:
  python3 sources/public-suffix-list/build.py
The verifier reconstructs and compares the exact compiled rule bytes.
Gzip-container metadata is not used as a rule-equivalence test.

OTHER UPSTREAM COMPONENTS
All selected binary runtime libraries have source archives in sources/maven/;
original Maven inputs/POM/module metadata are included. Sources retain original
copyright headers. Third-party notices are also expanded under notices/.
No proprietary application source or signing credentials are distributed.
