diff --git a/build.gradle b/build.gradle index f0e33bf..4e81683 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,24 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * This is a general purpose Gradle build. - * Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds - */ - - plugins { +plugins { id 'java' } + +group 'xyz.vallat.louis' +version '0.1-SNAPSHOT' + +jar { + manifest { + attributes 'Main-Class': 'xyz.vallat.louis.MovieQuoteBot' + } + duplicatesStrategy = DuplicatesStrategy.EXCLUDE + + from { + configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) } + } +} + +repositories { + mavenCentral() +} + +dependencies { +} \ No newline at end of file diff --git a/src/main/java/xyz/vallat/louis/MovieQuoteBot.java b/src/main/java/xyz/vallat/louis/MovieQuoteBot.java new file mode 100644 index 0000000..1015a37 --- /dev/null +++ b/src/main/java/xyz/vallat/louis/MovieQuoteBot.java @@ -0,0 +1,9 @@ +package xyz.vallat.louis; + +public class MovieQuoteBot { + + public static void main(String[] args) { + System.out.println("Hello World!"); + } + +}