Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0d6d9c9

Browse files
committedFeb 19, 2025
setting: 기본 프로젝트 세팅
0 parents  commit 0d6d9c9

17 files changed

+540
-0
lines changed
 

‎.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/gradlew text eol=lf
2+
*.bat text eol=crlf
3+
*.jar binary

‎.gitignore

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
HELP.md
2+
.gradle
3+
build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
!**/src/main/**/build/
6+
!**/src/test/**/build/
7+
8+
### STS ###
9+
.apt_generated
10+
.classpath
11+
.factorypath
12+
.project
13+
.settings
14+
.springBeans
15+
.sts4-cache
16+
bin/
17+
!**/src/main/**/bin/
18+
!**/src/test/**/bin/
19+
20+
### IntelliJ IDEA ###
21+
.idea
22+
*.iws
23+
*.iml
24+
*.ipr
25+
out/
26+
!**/src/main/**/out/
27+
!**/src/test/**/out/
28+
29+
### NetBeans ###
30+
/nbproject/private/
31+
/nbbuild/
32+
/dist/
33+
/nbdist/
34+
/.nb-gradle/
35+
36+
### VS Code ###
37+
.vscode/
38+
39+
### Terraform ###
40+
# Local .terraform directories
41+
**/.terraform/*
42+
43+
# .tfstate files
44+
*.tfstate
45+
*.tfstate.*
46+
47+
# Crash log files
48+
crash.log
49+
crash.*.log
50+
51+
### 테라폼
52+
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
53+
# password, private keys, and other secrets. These should not be part of version
54+
# control as they are data points which are potentially sensitive and subject
55+
# to change depending on the environment.
56+
*.tfvars
57+
*.tfvars.json
58+
59+
# Ignore override files as they are usually used to override resources locally and so
60+
# are not checked in
61+
override.tf
62+
override.tf.json
63+
*_override.tf
64+
*_override.tf.json
65+
66+
# Include override files you do wish to add to version control using negated pattern
67+
# !example_override.tf
68+
69+
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
70+
# example: *tfplan*
71+
72+
### 도커 컴포즈 파일
73+
docker-compose.yml
74+
75+
### db파일
76+
db/
77+
78+
### secret 프로필
79+
application-secret.yml

‎build.gradle.kts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
plugins {
2+
java
3+
id("org.springframework.boot") version "3.4.2"
4+
id("io.spring.dependency-management") version "1.1.7"
5+
}
6+
7+
group = "cmf"
8+
version = "0.0.1-SNAPSHOT"
9+
10+
java {
11+
toolchain {
12+
languageVersion = JavaLanguageVersion.of(21)
13+
}
14+
}
15+
16+
configurations {
17+
compileOnly {
18+
extendsFrom(configurations.annotationProcessor.get())
19+
}
20+
}
21+
22+
repositories {
23+
mavenCentral()
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("org.springframework.boot:spring-boot-starter-websocket")
31+
compileOnly("org.projectlombok:lombok")
32+
developmentOnly("org.springframework.boot:spring-boot-devtools")
33+
developmentOnly("org.springframework.boot:spring-boot-docker-compose")
34+
runtimeOnly("com.mysql:mysql-connector-j")
35+
annotationProcessor("org.projectlombok:lombok")
36+
testImplementation("org.springframework.boot:spring-boot-starter-test")
37+
testImplementation("org.springframework.security:spring-security-test")
38+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
39+
}
40+
41+
tasks.withType<Test> {
42+
useJUnitPlatform()
43+
}

‎compose.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
services:
2+
mysql:
3+
image: 'mysql:latest'
4+
environment:
5+
- 'MYSQL_DATABASE=mydatabase'
6+
- 'MYSQL_PASSWORD=secret'
7+
- 'MYSQL_ROOT_PASSWORD=verysecret'
8+
- 'MYSQL_USER=myuser'
9+
ports:
10+
- '3306'

‎gradle/wrapper/gradle-wrapper.jar

42.6 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)
Please sign in to comment.