Skip to content

Commit

Permalink
refactor: java to kotlin으로 전환
Browse files Browse the repository at this point in the history
  • Loading branch information
jojaeng2 committed Aug 19, 2023
1 parent 367e153 commit e234e7d
Show file tree
Hide file tree
Showing 15 changed files with 108 additions and 61 deletions.
Binary file added .DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/2joryu.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ twitter, instagram 목표
기술 향상

# 사용 (예정) 기술
k8s, docker, argoCD, Github Actions, terraform, spring, java, kafka, redis, mysql, mongo, nginx, ElasticSearch, Kibana, Logstash, Grafana, Prometheus, Istio
k8s, docker, argoCD, Github Actions, terraform, spring, kotlin, kafka, redis, mysql, mongo, nginx, ElasticSearch, Kibana, Logstash, Grafana, Prometheus, Istio

#
| <img src="https://avatars.githubusercontent.com/u/68914294?v=4" width="130" height="130"> | <img src ="https://avatars.githubusercontent.com/u/76645095?v=4" width="130" height="130"> | <img src ="https://media.istockphoto.com/id/1269998782/ko/%EC%82%AC%EC%A7%84/%ED%9D%B0%EC%83%89-%EB%B0%B0%EA%B2%BD%EC%97%90-%EC%86%8C%EB%85%80%EC%9D%98-%EC%96%B4%EB%91%90%EC%9A%B4-%EC%8B%A4%EB%A3%A8%EC%97%A3-%EC%9D%B5%EB%AA%85%EC%9D%98-%EA%B0%9C%EB%85%90.jpg?b=1&s=612x612&w=0&k=20&c=gd2exr17dRKVPpRaps-r3z05dUnNiLK6CjkpMzOnd-Y=" width="130" height="130"> |
Expand Down
33 changes: 0 additions & 33 deletions sns_service/build.gradle

This file was deleted.

45 changes: 45 additions & 0 deletions sns_service/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("org.springframework.boot") version "3.1.2"
id("io.spring.dependency-management") version "1.1.2"
kotlin("jvm") version "1.8.22"
kotlin("plugin.spring") version "1.8.22"
}

group = "2joryu"
version = "0.0.1-SNAPSHOT"

java {
sourceCompatibility = JavaVersion.VERSION_17
}

configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}

repositories {
mavenCentral()
}

dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("org.jetbrains.kotlin:kotlin-reflect")
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
}

tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "17"
}
}

tasks.withType<Test> {
useJUnitPlatform()
}
1 change: 0 additions & 1 deletion sns_service/settings.gradle

This file was deleted.

1 change: 1 addition & 0 deletions sns_service/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = "sns_service"

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package joryu.sns_service

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication

@SpringBootApplication
class SnsServiceApplication

fun main(args: Array<String>) {
runApplication<SnsServiceApplication>(*args)
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package joryu.sns_service

import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest

@SpringBootTest
class SnsServiceApplicationTests {

@Test
fun contextLoads() {
}

}

0 comments on commit e234e7d

Please sign in to comment.