commit | 20bcbd5315057a10770a27b0e52958f088ff6e88 | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Tue May 23 12:28:33 2023 +0200 |
committer | Alexander Martinz <alex@amartinz.at> | Mon Nov 18 08:35:29 2024 +0100 |
tree | 5f0589e44ef9c6863b9cece889c49260e0367445 | |
parent | d3349b13ee32909ad3d0a12f63ae1602c60e9614 [diff] |
sdk: Prevent duplicating classes Recently a new resources target was added, which is now included by the framework. Our platform targets are already depending on framework and/or services, which results in adding duplicate classes. Fixes: 6ba68050 ("sdk: Introduce org.lineageos.platform.resources target") Test: atest CtsStrictJavaPackagesTestCases Change-Id: Ie9f7dc0fde505ce046c6599799d223eb26977aef Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within LineageOS. The SDK exposes APIs and system level framework access in the Android framework that aren't available in any other distribution.
You can either download from prebuilts hosted on github or pull directly via Gradle.
Our stable releases are mirrored in Maven Central, and you can fetch the current release by setting your build.gradle
dependencies to
dependencies { compile 'org.lineageos:platform.sdk:5.+' }
Within build.gradle
make sure your repositories
list sonatype OSS repos for snapshots
repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }
You can target the future
or development
branch by setting your dependencies
for 6.0-SNAPSHOT
dependencies { compile 'org.lineageos:platform.sdk:6.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.