Skip to content

Build Optimization #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ooMia opened this issue Mar 22, 2024 · 1 comment
Closed

Build Optimization #7

ooMia opened this issue Mar 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ooMia
Copy link
Contributor

ooMia commented Mar 22, 2024

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

@ooMia ooMia converted this from a draft issue Mar 22, 2024
@ooMia ooMia added the enhancement New feature or request label Mar 22, 2024
@ooMia ooMia self-assigned this Mar 22, 2024
@ooMia ooMia moved this from Todo to In Progress in spring-thread-concurrency Mar 22, 2024
@ooMia ooMia added the good first issue Good for newcomers label Mar 22, 2024
@ooMia ooMia added this to the 프로젝트 초기화 milestone Mar 22, 2024
ooMia added a commit that referenced this issue Mar 22, 2024
@ooMia ooMia closed this as completed Mar 22, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in spring-thread-concurrency Mar 22, 2024
@ooMia
Copy link
Contributor Author

ooMia commented Mar 22, 2024

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

  • Gradle Kotlin DSL을 사용하여 Java Shared Archive(JSA)를 생성하는 작업을 정의합니다.
  • 이 작업은 프로젝트의 JAR 파일이 변경될 때마다 JSA 파일을 생성하며, 이 JSA 파일은 JVM 시작 시간을 줄이는 데 사용됩니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
No open projects
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant