Skip to content

Commit

Permalink
chore: kotlin 설정 추가 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
wugawuga authored Jan 18, 2024
1 parent 9a1520c commit dff9ce5
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 41 deletions.
40 changes: 0 additions & 40 deletions build.gradle

This file was deleted.

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

plugins {
id ("org.springframework.boot") version "3.2.1"
id ("io.spring.dependency-management") version "1.1.4"
id ("java")
kotlin("jvm") version "1.9.20"
kotlin("plugin.spring") version "1.9.20"
kotlin("plugin.jpa") version "1.9.20"
}

group = "com.funeat"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenCentral()
}

dependencies {
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-web")
runtimeOnly("com.mysql:mysql-connector-j")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.rest-assured:rest-assured:5.3.2")
testRuntimeOnly("com.h2database:h2")

implementation("org.springdoc:springdoc-openapi-ui:1.7.0")
implementation("com.github.maricn:logback-slack-appender:1.4.0")

implementation("org.springframework.boot:spring-boot-starter-actuator")
runtimeOnly("io.micrometer:micrometer-registry-prometheus")

implementation("com.amazonaws:aws-java-sdk-s3:1.12.547")

implementation("org.springframework.session:spring-session-jdbc")
}

tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "21"
}
}

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

This file was deleted.

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

0 comments on commit dff9ce5

Please sign in to comment.