[go: nahoru, domu]

Skip to content

Commit

Permalink
use maven plugin to deploy maven artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
maxme committed Jul 11, 2014
1 parent 70a91cb commit 5d683f6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 22 deletions.
17 changes: 15 additions & 2 deletions WordPressUtils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ buildscript {
repositories {
mavenCentral()
}
dependencies { classpath 'com.android.tools.build:gradle:0.12.+' }
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}

apply plugin: 'com.android.library'
apply plugin: 'maven'

repositories {
mavenCentral()
Expand All @@ -18,7 +21,6 @@ dependencies {
}

android {

compileSdkVersion 19
buildToolsVersion "19.1.0"

Expand All @@ -30,3 +32,14 @@ android {
targetSdkVersion 19
}
}

uploadArchives {
repositories {
mavenDeployer {
repository(url: project.repository)
pom.version = android.defaultConfig.versionName
pom.groupId = "org.wordpress"
pom.artifactId = "wordpress-utils"
}
}
}
1 change: 1 addition & 0 deletions WordPressUtils/gradle.properties-example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repository=file:///Users/max/work/automattic/WordPress-Android-gh-pages/
1 change: 0 additions & 1 deletion tools/deploy-mvn-artifact.conf-example

This file was deleted.

19 changes: 0 additions & 19 deletions tools/deploy-mvn-artifact.sh

This file was deleted.

0 comments on commit 5d683f6

Please sign in to comment.