Skip to content

Commit

Permalink
[Refactor/#471] 플러그인 리펙토링 (#472)
Browse files Browse the repository at this point in the history
* refactor: 공통 플러그인 수정

* refactor: api 모듈에 jooq 플러그인 적용

* refactor: event, web 모듈에 testFixtures 플러그인 적용
  • Loading branch information
belljun3395 authored Dec 31, 2024
1 parent d1c114f commit 2068243
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
5 changes: 5 additions & 0 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ tasks.withType(BootJar::class.java) {
loaderImplementation = org.springframework.boot.loader.tools.LoaderImplementation.CLASSIC
}

plugins {
/** jooq */
id("org.jooq.jooq-codegen-gradle") version DependencyVersion.JOOQ
}

dependencies {
/** module */
implementation(project(":library:email"))
Expand Down
11 changes: 0 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ plugins {
id("org.springframework.boot") version DependencyVersion.SPRING_BOOT
id("io.spring.dependency-management") version DependencyVersion.SPRING_DEPENDENCY_MANAGEMENT

id("java-test-fixtures")

/** jooq */
id("org.jooq.jooq-codegen-gradle") version DependencyVersion.JOOQ

/** docs */
id("org.asciidoctor.jvm.convert") version DependencyVersion.ASCIIDOCTOR
id("com.epages.restdocs-api-spec") version DependencyVersion.EPAGES_REST_DOCS_API_SPEC
id("org.hidetake.swagger.generator") version DependencyVersion.SWAGGER_GENERATOR

id("org.jetbrains.dokka") version "1.9.20"
}

java.sourceCompatibility = JavaVersion.VERSION_18
Expand Down Expand Up @@ -111,12 +104,8 @@ subprojects {
apply(plugin = "org.jetbrains.kotlin.plugin.allopen")
apply(plugin = "org.jetbrains.kotlin.kapt")
apply(plugin = "org.hidetake.swagger.generator")
apply(plugin = "org.jooq.jooq-codegen-gradle")
apply(plugin = "org.jetbrains.dokka")
apply(plugin = "java-test-fixtures")
apply(plugin = "org.asciidoctor.jvm.convert")
apply(plugin = "com.epages.restdocs-api-spec")
apply(plugin = "org.hidetake.swagger.generator")

/**
* https://kotlinlang.org/docs/reference/compiler-plugins.html#spring-support
Expand Down
5 changes: 5 additions & 0 deletions library/event/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ tasks.getByName("jar") {
enabled = true
}

plugins {
/** test fixtures */
id("java-test-fixtures")
}

dependencies {
implementation("org.springframework.boot:spring-boot-starter-json")
}
5 changes: 5 additions & 0 deletions library/web/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ tasks.getByName("jar") {
enabled = true
}

plugins {
/** test fixtures */
id("java-test-fixtures")
}

dependencies {
api(project(":library:security"))

Expand Down

0 comments on commit 2068243

Please sign in to comment.