diff options
author | Søren Gjesse <sgjesse@google.com> | 2017-09-06 12:20:49 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-09-06 12:20:49 +0000 |
commit | 8109b59987ab7b03814960e4ec4d76f078f2fc2f (patch) | |
tree | fc89e22f4b6546378e91da2aed6eec5219619657 /build.gradle | |
parent | 81bef40a548caf5aba0707c337f64c9996f4f3f1 (diff) | |
parent | 1d21da79d7f7b915a12d8902b344345e24ad6cd1 (diff) | |
download | r8-8109b59987ab7b03814960e4ec4d76f078f2fc2f.tar.gz |
Merge "Add a simple Proguard comaptibility tool"
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 82feb0066..d13029e87 100644 --- a/build.gradle +++ b/build.gradle @@ -379,6 +379,20 @@ task CompatDx(type: Jar) { } } +task CompatProguard(type: Jar) { + from sourceSets.main.output + baseName 'compatproguard' + manifest { + attributes 'Main-Class': 'com.android.tools.r8.compatproguard.CompatProguard' + } + // In order to build without dependencies, pass the exclude_deps property using: + // gradle -Pexclude_deps CompatProguard + if (!project.hasProperty('exclude_deps')) { + // Also include dependencies + from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } + } +} + task D8Logger(type: Jar) { from sourceSets.main.output baseName 'd8logger' |