commit | 5d9c9a7b34080ac0a57565ecbbf0506550dab0d4 | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Tue May 23 12:28:33 2023 +0200 |
committer | Alexander Martinz <amartinz@shiftphones.com> | Tue Jul 23 17:29:21 2024 +0200 |
tree | a4b1acb2ca80bbf14b6456198f8e8e92d80fbda4 | |
parent | a6abe101dda69fc81f2a02d2e74cf4acf694fae0 [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.