commit | c6550fd803fe80595c9f60b5980d4d1621efaa54 | [log] [tgz] |
---|---|---|
author | Jorge Ruesga <jorge@ruesga.com> | Fri Apr 29 14:27:41 2016 +0200 |
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | Mon May 02 10:08:21 2016 -0700 |
tree | 5ef2d816f63aa5cb0c553888e9fccff87061c13d | |
parent | de43b8c2d8faa7f17b39af4f32fb057db89b79e6 [diff] |
cmsdk: include our own consumer proguard rules Include a proguard file with can be consumed by the latest gradle plugin to merge this ones rules without the rules of the app linked to. This way devs doesn't need to declare (in a recent version of the gradle plugin) -dontwarn and -dontnote for cyanogenmod.library when linked to it, because proguard crashes the build because it cannot access to cm system private classes. Change-Id: I7c94a9119db744b0029b4d9a8aa782adcbd47b93 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within CyanogenMod. 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.cyanogenmod:platform.sdk:4.+' }
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 5.0-SNAPSHOT
dependencies { compile 'org.cyanogenmod:platform.sdk:5.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.