add build.gradle

parent 4e95681a
# Ignore Gradle project-specific cache directory
.gradle
.gradle/
# Ignore Gradle build output directory
build
build/
......@@ -14,6 +14,11 @@ plugins {
id 'application'
}
compileJava {
options.compilerArgs += ['-encoding', 'utf-8']
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
......
......@@ -5,10 +5,14 @@ package edu.ubu.csapp;
public class App {
public String getGreeting() {
return "Hello world.";
return "Hello world. สวัสดีประเทศไทย";
}
public static void main(String[] args) {
System.out.println(new App().getGreeting());
System.out.println("Argument List");
for (String a : args) {
System.out.println(a);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment