aboutsummaryrefslogtreecommitdiff
path: root/gradle/build.gradle
diff options
context:
space:
mode:
authorAdam Murdoch <adam.murdoch@gradleware.com>2012-08-21 15:36:01 +1000
committerAdam Murdoch <adam.murdoch@gradleware.com>2012-08-21 15:36:01 +1000
commit238faded3b24bcd70b2aa6bd3a6302f64f31b070 (patch)
treebed180c73208d4601a3ac372b4d08eda381bc0d3 /gradle/build.gradle
parent08bd6cfc94cf36d4ab8540574fc8eaa3a6271c64 (diff)
downloadbuild-238faded3b24bcd70b2aa6bd3a6302f64f31b070.tar.gz
Separated the prototype into plugin and test apps.
The plugin implementation has moved to the gradle/ directory, and the test applications have moved under the testapps/ directory. This change means that you now have to run ./gradlew uploadArchives in the root directory to make the plugin available to the test application builds via a local repository (in repo/). See the readme.md for more details about building and using the test applications. Change-Id: Id9b268aa1d6d1a5621513fb788b2dc90ca2793e8
Diffstat (limited to 'gradle/build.gradle')
-rw-r--r--gradle/build.gradle20
1 files changed, 20 insertions, 0 deletions
diff --git a/gradle/build.gradle b/gradle/build.gradle
new file mode 100644
index 0000000..9b8e49a
--- /dev/null
+++ b/gradle/build.gradle
@@ -0,0 +1,20 @@
+apply plugin: 'groovy'
+apply plugin: 'idea'
+apply plugin: 'maven'
+
+dependencies {
+ compile gradleApi()
+ groovy localGroovy()
+}
+
+group = 'com.google.android'
+version = '0.1-SNAPSHOT'
+archivesBaseName = 'gradle-android'
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: uri("$rootDir/repo"))
+ }
+ }
+}