Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
prebuilts/cmsdk: Always do release deploy for current.
Change-Id: I9ae94b12cf1fa886a02892053a887bcab103d10a
  • Loading branch information
Adnan Begovic committed Aug 7, 2015
1 parent 0342522 commit 4701eec
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 4 deletions.
8 changes: 5 additions & 3 deletions current/Android.mk
Expand Up @@ -13,18 +13,20 @@
# limitations under the License.
LOCAL_PATH := $(call my-dir)

# Maven Upload
# Maven Release Upload
# ===========================================================
include $(CLEAR_VARS)

LOCAL_MODULE := cmsdk-current-maven
LOCAL_MODULE := cmsdk-current-maven-RELEASE
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_MODULE_TAGS := optional

LOCAL_MAVEN_REPO_ID := remote-repository
LOCAL_MAVEN_REPO := https://oss.sonatype.org/content/repositories/snapshots
LOCAL_MAVEN_REPO := https://oss.sonatype.org/service/local/staging/deploy/maven2
LOCAL_MAVEN_CLASSIFICATION := $(VARIANT)Release
LOCAL_MAVEN_FILE_PATH := $(LOCAL_PATH)/org.cyanogenmod.platform.sdk.jar
LOCAL_MAVEN_POM := $(LOCAL_PATH)/pom.xml
LOCAL_MAVEN_SOURCES := $(LOCAL_PATH)/platform.sdk-sources.jar
LOCAL_MAVEN_JAVADOC := $(LOCAL_PATH)/platform.sdk-javadoc.jar

include $(PUBLISH_MAVEN_PREBUILT)
Binary file added current/platform.sdk-javadoc.jar
Binary file not shown.
Binary file added current/platform.sdk-sources.jar
Binary file not shown.
76 changes: 76 additions & 0 deletions current/pom.xml
Expand Up @@ -8,6 +8,7 @@
<packaging>jar</packaging>

<name>CyanogenMod Platform SDK</name>
<description>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.</description>
<url>https://github.com/CyanogenMod/cm_platform_sdk</url>

<licenses>
Expand All @@ -17,4 +18,79 @@
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>cm-maven</id>
<name>CyanogenMod Maven Team</name>
<email>devrel@cyanogenmod.org</email>
<url>http://www.cyanogenmod.org</url>
<organization>CyanogenMod</organization>
<organizationUrl>http://www.cynanogenmod.org</organizationUrl>
</developer>
<developer>
<id>Decad3nce</id>
<name>Adnan Begovic</name>
<email>adnan@cyngn.com</email>
<url>http://www.github.com/Decad3nce</url>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
</developers>

<scm>
<url>https://github.com/CyanogenMod/cm_platform_sdk</url>
<connection>scm:git:git://github.com/CyanogenMod/cm_platform_sdk.git</connection>
<developerConnection>scm:git:git@github.com:CyanogenMod/cm_platform_sdk.git</developerConnection>
</scm>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>deploy</phase>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>deploy</phase>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals><goal>deploy</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion future/Android.mk
Expand Up @@ -17,7 +17,7 @@ LOCAL_PATH := $(call my-dir)
# ===========================================================
include $(CLEAR_VARS)

LOCAL_MODULE := cmsdk-development-maven
LOCAL_MODULE := cmsdk-development-maven-SNAPSHOT
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_MODULE_TAGS := optional

Expand Down

0 comments on commit 4701eec

Please sign in to comment.