From aaf26dc2b16d974c1cd5f6798f1aafd65c116cca Mon Sep 17 00:00:00 2001 From: Tal Moran Date: Tue, 10 Nov 2015 13:56:45 +0200 Subject: [PATCH] Removed application plugin from empty projects so that root-level build will work --- build.gradle-template | 8 +++++--- polling-station/build.gradle | 9 +++++++-- voting-booth/build.gradle | 8 ++++++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/build.gradle-template b/build.gradle-template index 361c26c..8af1b54 100644 --- a/build.gradle-template +++ b/build.gradle-template @@ -8,12 +8,14 @@ apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' -// Uncomment both lines below to define an application (must set mainClassName +apply plugin: 'maven-publish' + +// Uncomment the lines below to define an application +// (this will also allow you to build a "fatCapsule" which includes +// the entire application, including all dependencies in a single jar) //apply plugin: 'application' //mainClassName='your.main.ApplicationClass' -apply plugin: 'maven-publish' - // Is this a snapshot version? ext { isSnapshot = false } diff --git a/polling-station/build.gradle b/polling-station/build.gradle index 01614db..a0c7e72 100644 --- a/polling-station/build.gradle +++ b/polling-station/build.gradle @@ -8,10 +8,15 @@ apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' -apply plugin: 'application' - apply plugin: 'maven-publish' +// Uncomment the lines below to define an application +// (this will also allow you to build a "fatCapsule" which includes +// the entire application, including all dependencies in a single jar) +//apply plugin: 'application' +//mainClassName='your.main.ApplicationClass' + + // Is this a snapshot version? ext { isSnapshot = false } diff --git a/voting-booth/build.gradle b/voting-booth/build.gradle index 1946bda..a52e1f6 100644 --- a/voting-booth/build.gradle +++ b/voting-booth/build.gradle @@ -8,10 +8,14 @@ apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'idea' -apply plugin: 'application' - apply plugin: 'maven-publish' +// Uncomment the lines below to define an application +// (this will also allow you to build a "fatCapsule" which includes +// the entire application, including all dependencies in a single jar) +//apply plugin: 'application' +//mainClassName='your.main.ApplicationClass' + // Is this a snapshot version? ext { isSnapshot = false }