From 611a31b7bb3a0f98e645feff5ebd8d36186fb2a1 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 28 Mar 2019 21:46:45 -0400 Subject: [PATCH] Attempt to allow Eclipse to import the Gradle project. --- api/build.gradle | 2 +- build.gradle | 9 +++++++++ proxy/build.gradle | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/api/build.gradle b/api/build.gradle index f654693dc..335427110 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -1,12 +1,12 @@ plugins { id 'java' - id 'com.github.johnrengelman.shadow' version '2.0.4' id 'maven-publish' id 'checkstyle' } apply from: '../gradle/checkerframework.gradle' apply from: '../gradle/checkstyle.gradle' +apply plugin: 'com.github.johnrengelman.shadow' sourceSets { ap { diff --git a/build.gradle b/build.gradle index c7bd94794..8bd681537 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,12 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4' + } +} + plugins { id 'java' } diff --git a/proxy/build.gradle b/proxy/build.gradle index c2331e025..b8cb34773 100644 --- a/proxy/build.gradle +++ b/proxy/build.gradle @@ -1,12 +1,12 @@ plugins { id 'java' - id 'com.github.johnrengelman.shadow' version '2.0.4' id 'de.sebastianboegl.shadow.transformer.log4j' version '2.1.1' id 'checkstyle' } apply from: '../gradle/checkerframework.gradle' apply from: '../gradle/checkstyle.gradle' +apply plugin: 'com.github.johnrengelman.shadow' jar { manifest {