Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gradle-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
templates
gradle-project
Commits
c5daa623
Unverified
Commit
c5daa623
authored
Feb 07, 2020
by
Wichit Sombat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add build.gradle
parent
4e95681a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
.gitignore
.gitignore
+2
-2
build.gradle
build.gradle
+5
-0
App.java
src/main/java/edu/ubu/csapp/App.java
+5
-1
No files found.
.gitignore
View file @
c5daa623
# Ignore Gradle project-specific cache directory
# Ignore Gradle project-specific cache directory
.gradle
.gradle
/
# Ignore Gradle build output directory
# Ignore Gradle build output directory
build
build
/
build.gradle
View file @
c5daa623
...
@@ -14,6 +14,11 @@ plugins {
...
@@ -14,6 +14,11 @@ plugins {
id
'application'
id
'application'
}
}
compileJava
{
options
.
compilerArgs
+=
[
'-encoding'
,
'utf-8'
]
}
repositories
{
repositories
{
// Use jcenter for resolving your dependencies.
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
// You can declare any Maven/Ivy/file repository here.
...
...
src/main/java/edu/ubu/csapp/App.java
View file @
c5daa623
...
@@ -5,10 +5,14 @@ package edu.ubu.csapp;
...
@@ -5,10 +5,14 @@ package edu.ubu.csapp;
public
class
App
{
public
class
App
{
public
String
getGreeting
()
{
public
String
getGreeting
()
{
return
"Hello world."
;
return
"Hello world.
สวัสดีประเทศไทย
"
;
}
}
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
new
App
().
getGreeting
());
System
.
out
.
println
(
new
App
().
getGreeting
());
System
.
out
.
println
(
"Argument List"
);
for
(
String
a
:
args
)
{
System
.
out
.
println
(
a
);
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment