lint 적용
This commit is contained in:
		@@ -1,8 +1,8 @@
 | 
			
		||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
 | 
			
		||||
 | 
			
		||||
plugins {
 | 
			
		||||
	id("org.springframework.boot") version "2.7.14"
 | 
			
		||||
	id("io.spring.dependency-management") version "1.0.15.RELEASE"
 | 
			
		||||
    id("org.springframework.boot") version "2.7.14"
 | 
			
		||||
    id("io.spring.dependency-management") version "1.0.15.RELEASE"
 | 
			
		||||
 | 
			
		||||
    val kotlinVersion = "1.6.21"
 | 
			
		||||
    kotlin("jvm") version kotlinVersion
 | 
			
		||||
@@ -18,42 +18,42 @@ version = "0.0.1-SNAPSHOT"
 | 
			
		||||
val querydslVersion = "5.0.0"
 | 
			
		||||
 | 
			
		||||
java {
 | 
			
		||||
	sourceCompatibility = JavaVersion.VERSION_11
 | 
			
		||||
    sourceCompatibility = JavaVersion.VERSION_11
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
repositories {
 | 
			
		||||
	mavenCentral()
 | 
			
		||||
    mavenCentral()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-data-jpa")
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-data-redis")
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-security")
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-web")
 | 
			
		||||
	implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
 | 
			
		||||
	implementation("org.jetbrains.kotlin:kotlin-reflect")
 | 
			
		||||
    implementation("org.springframework.boot:spring-boot-starter-data-jpa")
 | 
			
		||||
    implementation("org.springframework.boot:spring-boot-starter-data-redis")
 | 
			
		||||
    implementation("org.springframework.boot:spring-boot-starter-security")
 | 
			
		||||
    implementation("org.springframework.boot:spring-boot-starter-web")
 | 
			
		||||
    implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
 | 
			
		||||
    implementation("org.jetbrains.kotlin:kotlin-reflect")
 | 
			
		||||
 | 
			
		||||
    // querydsl (추가 설정)
 | 
			
		||||
    implementation("com.querydsl:querydsl-jpa:$querydslVersion")
 | 
			
		||||
    kapt("com.querydsl:querydsl-apt:$querydslVersion:jpa")
 | 
			
		||||
    kapt("org.springframework.boot:spring-boot-configuration-processor")
 | 
			
		||||
 | 
			
		||||
	developmentOnly("org.springframework.boot:spring-boot-devtools")
 | 
			
		||||
	runtimeOnly("com.h2database:h2")
 | 
			
		||||
	runtimeOnly("com.mysql:mysql-connector-j")
 | 
			
		||||
	testImplementation("org.springframework.boot:spring-boot-starter-test")
 | 
			
		||||
	testImplementation("org.springframework.security:spring-security-test")
 | 
			
		||||
    developmentOnly("org.springframework.boot:spring-boot-devtools")
 | 
			
		||||
    runtimeOnly("com.h2database:h2")
 | 
			
		||||
    runtimeOnly("com.mysql:mysql-connector-j")
 | 
			
		||||
    testImplementation("org.springframework.boot:spring-boot-starter-test")
 | 
			
		||||
    testImplementation("org.springframework.security:spring-security-test")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
tasks.withType<KotlinCompile> {
 | 
			
		||||
	kotlinOptions {
 | 
			
		||||
		freeCompilerArgs += "-Xjsr305=strict"
 | 
			
		||||
		jvmTarget = "11"
 | 
			
		||||
	}
 | 
			
		||||
    kotlinOptions {
 | 
			
		||||
        freeCompilerArgs += "-Xjsr305=strict"
 | 
			
		||||
        jvmTarget = "11"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
tasks.withType<Test> {
 | 
			
		||||
	useJUnitPlatform()
 | 
			
		||||
    useJUnitPlatform()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
tasks.getByName<Jar>("jar") {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user