diff options
author | Sam Judd <judds@google.com> | 2014-08-17 10:26:03 -0700 |
---|---|---|
committer | Sam Judd <judds@google.com> | 2014-08-17 12:16:53 -0700 |
commit | a9154a27df4e29d7a4741e95274e63ffc41e8092 (patch) | |
tree | f74bfd5526ce6a6a0d9f0cff2ed27ac199b5d728 /integration | |
parent | 5d10501387080d155023a02e821520a3cbd05308 (diff) | |
download | glide-a9154a27df4e29d7a4741e95274e63ffc41e8092.tar.gz |
Upload a jar for all integration projects.
Diffstat (limited to 'integration')
-rw-r--r-- | integration/build.gradle | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/integration/build.gradle b/integration/build.gradle new file mode 100644 index 00000000..8ab4470b --- /dev/null +++ b/integration/build.gradle @@ -0,0 +1,13 @@ +evaluationDependsOnChildren() + +subprojects { + android.libraryVariants.all { variant -> + def jarTask = project.tasks.create(name: "jar${variant.name.capitalize()}", type: Jar) { + from variant.javaCompile.destinationDir + exclude "**/R.class" + exclude "**/BuildConfig.class" + } + jarTask.dependsOn variant.javaCompile + artifacts.add('archives', jarTask); + } +}
\ No newline at end of file |