commit | 62604cf5404e31cd4fc32b9d79c300505629eb0f | [log] [tgz] |
---|---|---|
author | Adnan Begovic <adnan@cyngn.com> | Wed Apr 13 09:51:21 2016 -0700 |
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | Thu Apr 14 10:51:47 2016 -0700 |
tree | 9df21718cc6dd398292c3d88b2b9a62c306f5924 | |
parent | ad5e5d019f9cd3e988751646c2ae2633d1dc27e2 [diff] |
cmsdk: Exclude compiled 'cyanogenmod/library' java package. Since aar's contain the raw resource to be compiled into the consumer package, having the compiled java from the resources inside of the java archive can lead to multiple instances of the class in the target package during compilation. Avoid that scenario by excluding the compile 'cyanogenmod/library' package from the final aar. TICKET: CYNGNOS-2305 Change-Id: I3b40205f4c2173ecd059e034312ed18dc9c6de34
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.