summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2015-03-12 14:30:29 -0700
committerYigit Boyar <yboyar@google.com>2015-03-12 19:27:20 -0700
commitf9e51c010bd2eab9cca01baaccc0e5a73b8b72c9 (patch)
tree1c844a782700b809780058fe306de279d60ae0ba /samples
parent2ae965ad2930fa98205e99fb78122f39b05b7eb9 (diff)
downloaddata-binding-f9e51c010bd2eab9cca01baaccc0e5a73b8b72c9.tar.gz
Restructure project for test apps
This CL updates project to use a local maven repo. (local as in near source code w/ relative path). This is necessary to have multiple versions of the project on the same computer also provides better separation. I also moved integration tests to depend on these because we cannot build the compiler and test app at the same project. I've changed library plugin's jar to be a separate upload task to avoid some build issues in TestApp when we release a @jar and @aar with same group and artifact ids. This CL also adds some convenience methods to gradle build script to run all tests, prepare maven repo, run integration tests etc. These were needed to do CI. Bug: 19718690 Change-Id: I3c80e09fe7c8c2780ca00c3e9b9ba99a162531cf
Diffstat (limited to 'samples')
-rw-r--r--samples/BindingDemo/build.gradle8
1 files changed, 6 insertions, 2 deletions
diff --git a/samples/BindingDemo/build.gradle b/samples/BindingDemo/build.gradle
index 63cc83a0..18f0f561 100644
--- a/samples/BindingDemo/build.gradle
+++ b/samples/BindingDemo/build.gradle
@@ -18,7 +18,9 @@
buildscript {
repositories {
jcenter()
- mavenLocal()
+ maven {
+ url "$projectDir/../../maven-repo"
+ }
mavenCentral()
}
dependencies {
@@ -32,7 +34,9 @@ buildscript {
allprojects {
repositories {
jcenter()
- mavenLocal()
+ maven {
+ url "$projectDir/../../../maven-repo"
+ }
mavenCentral()
}
}