aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAlexander Dorokhine <adorokhine@google.com>2017-05-02 19:34:59 -0700
committerGitHub <noreply@github.com>2017-05-02 19:34:59 -0700
commit796a97541ca681478b707c0b9e535e0d201496ac (patch)
tree9329f582913f12c356a2f694a469bff1162a95b3 /build.gradle
parentfec0d88ea2860ef5b595d6f04481cec963350a1d (diff)
downloadmobly-bundled-snippets-796a97541ca681478b707c0b9e535e0d201496ac.tar.gz
Simplify API required to call methods by reflection. (#45)
* Implement a cleaner way to call methods by reflection. * Port all callers to the new reflection API.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
1 files changed, 11 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index c5ef718..028777c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -54,14 +54,24 @@ task sourcesJar(type: Jar) {
classifier = 'src'
}
+task javadoc(type: Javadoc) {
+ source = android.sourceSets.main.java.srcDirs
+ classpath += project.files(
+ android.getBootClasspath().join(File.pathSeparator))
+}
+
artifacts {
archives sourcesJar
}
dependencies {
- compile 'com.google.android.mobly:mobly-snippet-lib:1.0.0'
compile 'com.android.support.test:runner:0.5'
+ compile 'com.google.android.mobly:mobly-snippet-lib:1.0.0'
compile 'com.google.code.gson:gson:2.6.2'
+ compile 'com.google.guava:guava:20.0'
+
+ testCompile 'com.google.truth:truth:0.32'
+ testCompile 'junit:junit:4.12'
}
googleJavaFormat {