Skip to content

Commit b962cdc

Browse files
committed
initial setting
0 parents  commit b962cdc

File tree

22 files changed

+762
-0
lines changed

22 files changed

+762
-0
lines changed

โ€Ž.gitignoreโ€Ž

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

โ€Ž.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/.nameโ€Ž

Lines changed: 1 addition & 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: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

โ€Ž.idea/jarRepositories.xmlโ€Ž

Lines changed: 25 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: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

โ€Ž.idea/runConfigurations.xmlโ€Ž

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

โ€Ž.idea/saveactions_settings.xmlโ€Ž

Lines changed: 19 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.

โ€Žbuild.gradleโ€Ž

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
plugins {
2+
id 'org.springframework.boot' version '2.6.1'
3+
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
4+
id 'org.asciidoctor.convert' version '1.5.8'
5+
id 'java'
6+
}
7+
8+
group = 'org.ahpuh'
9+
version = '0.0.1-SNAPSHOT'
10+
sourceCompatibility = '17'
11+
12+
configurations {
13+
compileOnly {
14+
extendsFrom annotationProcessor
15+
}
16+
}
17+
18+
repositories {
19+
mavenCentral()
20+
}
21+
22+
ext {
23+
set('snippetsDir', file("build/generated-snippets"))
24+
}
25+
26+
dependencies {
27+
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
28+
implementation 'org.springframework.boot:spring-boot-starter-security'
29+
implementation 'org.springframework.boot:spring-boot-starter-web'
30+
implementation 'com.google.guava:guava:23.0'
31+
compileOnly 'org.projectlombok:lombok'
32+
runtimeOnly 'com.h2database:h2'
33+
runtimeOnly 'mysql:mysql-connector-java'
34+
annotationProcessor 'org.projectlombok:lombok'
35+
testImplementation 'org.springframework.boot:spring-boot-starter-test'
36+
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
37+
testImplementation 'org.springframework.security:spring-security-test'
38+
}
39+
40+
test {
41+
outputs.dir snippetsDir
42+
useJUnitPlatform()
43+
}
44+
45+
asciidoctor {
46+
inputs.dir snippetsDir
47+
dependsOn test
48+
}

0 commit comments

Comments
ย (0)