-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparation for demo with commented code.
- Loading branch information
1 parent
98d7827
commit d4993ce
Showing
5 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text=auto | ||
|
||
# Declare files that will always have LF line endings on checkout. | ||
*.java text eol=lf | ||
*.scala text eol=lf | ||
*.groovy text eol=lf | ||
*.py text eol=lf | ||
*.sh text eol=lf | ||
*.bat text eol=crlf | ||
*.prefs text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.gradle/ | ||
/bin/ | ||
/build/ | ||
.classpath | ||
.project | ||
.settings/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
description = "Sample project to itnroduce Git, Gradle and CircleCI" | ||
description = "Sample project to introduce Git, Gradle and CircleCI" | ||
|
||
task wrapper(type: Wrapper) { | ||
gradleVersion = '2.0' | ||
} | ||
|
||
apply plugin: 'java' | ||
//apply plugin: 'java' | ||
//apply plugin: 'eclipse' | ||
|
||
//repositories { mavenCentral() } | ||
|
||
//dependencies { | ||
// compile([ | ||
// 'commons-collections:commons-collections:3.2', | ||
// 'joda-time:joda-time:2.6' | ||
// ]) | ||
// | ||
// testCompile([ 'junit:junit:4.+']) | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Customize the test machine | ||
#machine: | ||
# java: | ||
# version: oraclejdk7 | ||
|
||
## Customize dependencies | ||
#dependencies: | ||
# override: | ||
# - ./gradlew compileTestJava | ||
|
||
# we automatically cache and restore many dependencies between | ||
# builds. If you need to, you can add custom paths to cache: | ||
# cache_directories: | ||
# - "~/.gradle" | ||
# - "build" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
package hello; | ||
|
||
//import org.joda.time.DateTime; | ||
|
||
public class Greeter { | ||
|
||
// private DateTime currentTime = new DateTime(); | ||
|
||
public String sayHello() { | ||
|
||
return "Hello world!"; | ||
} | ||
|
||
/* | ||
public DateTime getGreeterTime() { | ||
return this.currentTime; | ||
} | ||
*/ | ||
} |