diff options
author | Jie Dai <jied@google.com> | 2015-07-07 13:54:57 -0700 |
---|---|---|
committer | Jie Dai <jied@google.com> | 2015-07-07 15:02:13 -0700 |
commit | 87e430c688618f0e112641a83c7b2f8a8c24f16e (patch) | |
tree | e1939a4515a616f0e0441dcde2b18b6451c7d1d1 /library | |
parent | 9fb9af468ed5e2ecba330348262dae5e04b7d006 (diff) | |
download | hamcrest-87e430c688618f0e112641a83c7b2f8a8c24f16e.tar.gz |
Add a configuration to hamcrest-library build.gradle
Change-Id: I12dc1bc590455ad813f16ffc831817346a4979e9
Diffstat (limited to 'library')
-rw-r--r-- | library/build.gradle | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/library/build.gradle b/library/build.gradle index 54ab15f..3584fb1 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -8,6 +8,22 @@ sourceSets { } } +configurations { + ast +} + dependencies { compile project(':hamcrest') + ast project(':android-support-test') +} + +task astJar(type: Jar) { + from sourceSets.main.output + dependsOn classes + baseName "hamcrest-library" + classifier "ast" +} + +artifacts { + ast astJar } |