commit | 0a32731db815481b51e7c8af649cea542168f53a | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Sat Mar 13 16:12:51 2021 +0100 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Sat Mar 13 17:35:55 2021 +0100 |
tree | aa0e35e9b11a472e5f03a701355372198772ebb0 | |
parent | 9c5242de8b04f118aca84669f9136f38ff7d7064 [diff] |
lineage-sdk: lib.phone: Compile against public SDK * In order to be able to reference this package in non-platform packages, we need to compile this against the current sdk Change-Id: Id87059d876854907d947e5802a04db634435c6ed
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.