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' + ) + } +}