commit | 8505f77f3600b52b224ee9dbaa0a79e2efd56d42 | [log] [tgz] |
---|---|---|
author | Michael W <baddaemon87@gmail.com> | Sun Nov 17 15:15:11 2019 +0100 |
committer | Bruno Martins <bgcngm@gmail.com> | Sat Nov 23 13:10:42 2019 +0000 |
tree | a4bb810804a8488b1c50b0f0a04ccff513cd3773 | |
parent | 4eeac2c95bcf24165fb14a4358594912b9a12923 [diff] |
sdk: Make phone a new compile target * Moving SensitivePhoneNumbers to sdk got us significantly bigger zip packages due to libphonenumber being part of every package that is using org.lineageos.platform or org.lineageos.platform.internal * In order to correct this, move the "phone" folder to an own library that statically links libphonennumber and subsequentially make use of that package where needed Change-Id: I4effd7a9248290aeb23ab47ff8e30385dce4401a
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.