[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #1 from wordpress-mobile/feature/wordpress-gradle-…
Browse files Browse the repository at this point in the history
…plugin

Setting up project to use wordpress gradle plugin
  • Loading branch information
maxme committed Jul 11, 2014
2 parents 4e2672d + 6a82aab commit 0896533
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ gradle.properties
.DS_Store

# dependencies
WordPressUtils
WordPressComRest
libs
15 changes: 13 additions & 2 deletions WordPressNetworking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,19 @@ android {
}
}

wordpress {
utils {
repo 'WordPress-Utils-Android'
subproject 'WordPressUtils'
artifact 'org.wordpress:wordpress-utils:1.0.+'
}
wpcomrest {
repo 'Automattic/android-wordpress-com-rest'
subproject 'WordPressComRest'
artifact 'com.automattic:wordpresscom-rest:1.0.0'
}
}

dependencies {
compile 'com.mcxiaoke.volley:library:1.0.+'
compile project(':WordPressComRest')
compile project(':WordPressUtils')
}
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.automattic.android:gradle-wordpresslibraries:1.+'
}
}

allprojects {
apply plugin:'wordpress'
}
4 changes: 3 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include ':WordPressNetworking', ':WordPressUtils', ':WordPressComRest'
include ':WordPressNetworking'
include ':libs:wpcomrest:WordPressComRest'
include ':libs:utils:WordPressUtils'

0 comments on commit 0896533

Please sign in to comment.