Added a simple hello world as a base

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-10-25 11:11:53 +01:00
parent 19a5857f8b
commit 1c40a3465b
2 changed files with 31 additions and 8 deletions

View File

@ -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 {
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 {
}

View File

@ -0,0 +1,9 @@
package xyz.vallat.louis;
public class MovieQuoteBot {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}