Skip to content

Commit f5c6fa7

Browse files
committed
chore: execute gradle init
0 parents  commit f5c6fa7

31 files changed

+990
-0
lines changed

.gitattributes

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+
10+
# Binary files should be left untouched
11+
*.jar binary
12+

.gitignore

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/java,gradle,intellij
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,intellij
3+
4+
### Intellij ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
14+
15+
# AWS User-specific
16+
.idea/**/aws.xml
17+
18+
# Generated files
19+
.idea/**/contentModel.xml
20+
21+
# Sensitive or high-churn files
22+
.idea/**/dataSources/
23+
.idea/**/dataSources.ids
24+
.idea/**/dataSources.local.xml
25+
.idea/**/sqlDataSources.xml
26+
.idea/**/dynamic.xml
27+
.idea/**/uiDesigner.xml
28+
.idea/**/dbnavigator.xml
29+
30+
# Gradle
31+
.idea/**/gradle.xml
32+
.idea/**/libraries
33+
34+
# Gradle and Maven with auto-import
35+
# When using Gradle or Maven with auto-import, you should exclude module files,
36+
# since they will be recreated, and may cause churn. Uncomment if using
37+
# auto-import.
38+
# .idea/artifacts
39+
# .idea/compiler.xml
40+
# .idea/jarRepositories.xml
41+
# .idea/modules.xml
42+
# .idea/*.iml
43+
# .idea/modules
44+
# *.iml
45+
# *.ipr
46+
47+
# CMake
48+
cmake-build-*/
49+
50+
# Mongo Explorer plugin
51+
.idea/**/mongoSettings.xml
52+
53+
# File-based project format
54+
*.iws
55+
56+
# IntelliJ
57+
out/
58+
59+
# mpeltonen/sbt-idea plugin
60+
.idea_modules/
61+
62+
# JIRA plugin
63+
atlassian-ide-plugin.xml
64+
65+
# Cursive Clojure plugin
66+
.idea/replstate.xml
67+
68+
# SonarLint plugin
69+
.idea/sonarlint/
70+
71+
# Crashlytics plugin (for Android Studio and IntelliJ)
72+
com_crashlytics_export_strings.xml
73+
crashlytics.properties
74+
crashlytics-build.properties
75+
fabric.properties
76+
77+
# Editor-based Rest Client
78+
.idea/httpRequests
79+
80+
# Android studio 3.1+ serialized cache file
81+
.idea/caches/build_file_checksums.ser
82+
83+
### Intellij Patch ###
84+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
85+
86+
# *.iml
87+
# modules.xml
88+
# .idea/misc.xml
89+
# *.ipr
90+
91+
# Sonarlint plugin
92+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
93+
.idea/**/sonarlint/
94+
95+
# SonarQube Plugin
96+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
97+
.idea/**/sonarIssues.xml
98+
99+
# Markdown Navigator plugin
100+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
101+
.idea/**/markdown-navigator.xml
102+
.idea/**/markdown-navigator-enh.xml
103+
.idea/**/markdown-navigator/
104+
105+
# Cache file creation bug
106+
# See https://youtrack.jetbrains.com/issue/JBR-2257
107+
.idea/$CACHE_FILE$
108+
109+
# CodeStream plugin
110+
# https://plugins.jetbrains.com/plugin/12206-codestream
111+
.idea/codestream.xml
112+
113+
# Azure Toolkit for IntelliJ plugin
114+
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
115+
.idea/**/azureSettings.xml
116+
117+
### Java ###
118+
# Compiled class file
119+
*.class
120+
121+
# Log file
122+
*.log
123+
124+
# BlueJ files
125+
*.ctxt
126+
127+
# Mobile Tools for Java (J2ME)
128+
.mtj.tmp/
129+
130+
# Package Files #
131+
*.jar
132+
*.war
133+
*.nar
134+
*.ear
135+
*.zip
136+
*.tar.gz
137+
*.rar
138+
139+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
140+
hs_err_pid*
141+
replay_pid*
142+
143+
### Gradle ###
144+
.gradle
145+
**/build/
146+
!src/**/build/
147+
148+
# Ignore Gradle GUI config
149+
gradle-app.setting
150+
151+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
152+
!gradle-wrapper.jar
153+
154+
# Avoid ignore Gradle wrappper properties
155+
!gradle-wrapper.properties
156+
157+
# Cache of project
158+
.gradletasknamecache
159+
160+
# Eclipse Gradle plugin generated files
161+
# Eclipse Core
162+
.project
163+
# JDT-specific (Eclipse Java Development Tools)
164+
.classpath
165+
166+
### Gradle Patch ###
167+
# Java heap dump
168+
*.hprof
169+
170+
# End of https://www.toptal.com/developers/gitignore/api/java,gradle,intellij
171+
172+
####### Custom stuff below here #######
173+

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/ktfmt.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/palantir-java-format.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* This file was generated by the Gradle 'init' task.
3+
*
4+
* This project uses @Incubating APIs which are subject to change.
5+
*/
6+
7+
plugins {
8+
id 'buildlogic.java-application-conventions'
9+
}
10+
11+
dependencies {
12+
implementation 'org.apache.commons:commons-text'
13+
implementation project(':utilities')
14+
}
15+
16+
application {
17+
// Define the main class for the application.
18+
mainClass = 'org.example.app.App'
19+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* This source file was generated by the Gradle 'init' task
3+
*/
4+
package org.example.app;
5+
6+
import org.example.list.LinkedList;
7+
8+
import static org.example.utilities.StringUtils.join;
9+
import static org.example.utilities.StringUtils.split;
10+
import static org.example.app.MessageUtils.getMessage;
11+
12+
import org.apache.commons.text.WordUtils;
13+
14+
public class App {
15+
public static void main(String[] args) {
16+
LinkedList tokens;
17+
tokens = split(getMessage());
18+
String result = join(tokens);
19+
System.out.println(WordUtils.capitalize(result));
20+
}
21+
}

0 commit comments

Comments
 (0)