From efd3881b22808e49792557e181c7346b6ae5c09e Mon Sep 17 00:00:00 2001 From: Joshua Sigona Date: Sat, 11 Jul 2020 03:02:20 +0900 Subject: [PATCH] Add compiled jar --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index 82829fd..b4c03f5 100644 --- a/build.gradle +++ b/build.gradle @@ -27,3 +27,12 @@ dependencies { // Use JUnit test framework testImplementation 'junit:junit:4.12' } + +jar { + manifest { + attributes( + 'Class-Path': configurations.compile.collect { it.getName() }.join(' '), + 'Main-Class': 'HelloWorld.Library' + ) + } +}