Added a simple hello world as a base
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
19a5857f8b
commit
1c40a3465b
30
build.gradle
30
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 {
|
||||
}
|
9
src/main/java/xyz/vallat/louis/MovieQuoteBot.java
Normal file
9
src/main/java/xyz/vallat/louis/MovieQuoteBot.java
Normal file
@ -0,0 +1,9 @@
|
||||
package xyz.vallat.louis;
|
||||
|
||||
public class MovieQuoteBot {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello World!");
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user