spring-templates / spring-concurrency-thread

Spring 프레임워크에서의 Thread 동시성 제어 문제를 다룹니다.
https://spring-templates.github.io/spring-concurrency-thread/
MIT License
0 stars 1 forks source link

Build Optimization #7

Closed ooMia closed 6 months ago

ooMia commented 6 months ago

프로젝트 초기화 및 Build 속도 개선

ooMia commented 6 months ago

build.gradle.kts

dependencies {
    implementation("org.springframework.boot:spring-boot-starter-web")
    testImplementation("org.springframework.boot:spring-boot-starter-test")
    testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
}

tasks {
    all {
        outputs.cacheIf { true }
    }
}

tasks.test {
    jvmArgs("-Xshare:off")
    useJUnitPlatform()
}

apply(from = "dumpJsa.gradle.kts")
tasks.withType<JavaExec> {
    dependsOn("dumpJsa")
}

dumpJsa.gradle.kts