commit | ab0f5c54ab539a9b929e38a851d1230cf1a45a22 | [log] [tgz] |
---|---|---|
author | Harry Youd <harry@harryyoud.co.uk> | Thu Nov 23 00:54:44 2017 -0800 |
committer | Bruno Martins <bgcngm@gmail.com> | Sat Nov 25 11:02:12 2017 +0000 |
tree | 1e2a5ecb75594c5cb81856612d66ed212b6d4bb6 | |
parent | 7ac8299f2359abf501aa9910df1a318a1d01ddeb [diff] |
lineage-sdk: Add Lineage version, API and build date preferences Adapted from the following in order to fit into lineage-sdk (sam3000): Settings: Add LineageOS version to device info https://review.lineageos.org/191065 Settings: Add Lineage SDK API version to device info https://review.lineageos.org/191086 Settings: Add build date to device info https://review.lineageos.org/191087 Change-Id: I8f41d16733f7b0fadb47e6940c4140c039626423
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.