aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/java/jarjar/gradle
diff options
context:
space:
mode:
authorGravatar Lukacs T. Berki <lberki@google.com>2017-04-18 14:23:19 +0200
committerGravatar Lukacs T. Berki <lberki@google.com>2017-04-18 14:35:16 +0200
commit55828e256af4fe04e95f1c342a73d649d8525435 (patch)
treee9eb87f376897af767937ef71b126dac94f60a42 /third_party/java/jarjar/gradle
parentdf8d804acb5826a120cad9acfc78dd6f0071d864 (diff)
Vendor jarjar instead of using a binary version of it.
It appears that jarjar is not actually used except for renaming classes in the coverage collecting Java test runner as verified by `find . -name BUILD | xargs grep jarjar` Yak shaving for #2820. This is necessary because the current version of jarjar does not work with Java 8 classes because it embeds a version of ASM that doesn't support that yet. Change-Id: I6ac59b84bbbc1e85fe8e7f4f4876b98fc6129df0
Diffstat (limited to 'third_party/java/jarjar/gradle')
-rw-r--r--third_party/java/jarjar/gradle/buildscript.gradle11
-rw-r--r--third_party/java/jarjar/gradle/plugin.gradle20
-rw-r--r--third_party/java/jarjar/gradle/wrapper/gradle-wrapper.jarbin0 -> 51018 bytes
-rw-r--r--third_party/java/jarjar/gradle/wrapper/gradle-wrapper.properties6
4 files changed, 37 insertions, 0 deletions
diff --git a/third_party/java/jarjar/gradle/buildscript.gradle b/third_party/java/jarjar/gradle/buildscript.gradle
new file mode 100644
index 0000000000..c80830916e
--- /dev/null
+++ b/third_party/java/jarjar/gradle/buildscript.gradle
@@ -0,0 +1,11 @@
+// Executed in context of buildscript
+repositories {
+ mavenLocal()
+ mavenCentral()
+ jcenter()
+ // maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
+}
+
+dependencies {
+ classpath 'org.anarres.gradle:gradle-stdproject-plugin:1.0.2'
+}
diff --git a/third_party/java/jarjar/gradle/plugin.gradle b/third_party/java/jarjar/gradle/plugin.gradle
new file mode 100644
index 0000000000..666d0774bc
--- /dev/null
+++ b/third_party/java/jarjar/gradle/plugin.gradle
@@ -0,0 +1,20 @@
+plugindev {
+ pluginImplementationClass 'org.anarres.gradle.plugin.jarjar.JarjarPlugin'
+ pluginDescription "Jarjar Links makes it easy to repackage Java libraries."
+ pluginLicenses 'Apache-2.0'
+ pluginTags 'gradle', 'plugin', 'jarjar', 'links', 'asm'
+ authorId 'shevek'
+ authorName 'Shevek'
+ authorEmail 'github@anarres.org'
+ projectUrl "https://github.com/shevek/${rootProject.githubProjectName}"
+ projectIssuesUrl "https://github.com/shevek/${rootProject.githubProjectName}/issues"
+ projectVcsUrl "https://github.com/shevek/${rootProject.githubProjectName}.git"
+ projectInceptionYear '2014'
+ done()
+}
+
+bintray {
+ user = rootProject.hasProperty('bintrayUsername')?rootProject.bintrayUsername:''
+ key = rootProject.hasProperty('bintrayApiKey')?rootProject.bintrayApiKey:''
+ pkg.repo = 'gradle-plugins'
+}
diff --git a/third_party/java/jarjar/gradle/wrapper/gradle-wrapper.jar b/third_party/java/jarjar/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000000..c97a8bdb90
--- /dev/null
+++ b/third_party/java/jarjar/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/third_party/java/jarjar/gradle/wrapper/gradle-wrapper.properties b/third_party/java/jarjar/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000000..ca384f3642
--- /dev/null
+++ b/third_party/java/jarjar/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sun Mar 29 22:39:26 PDT 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip