Skip to content

Commit 8517108

Browse files
authored
Merge pull request #20 from BGMSound/develop
[Refactor] reconstruct project structure
2 parents e4bef78 + e827a0d commit 8517108

45 files changed

Lines changed: 20 additions & 15 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 1 deletion

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ group = extra["project.group"] as String
1818
version = extra["project.version.id"] as String
1919

2020
val publicModulePathSet = setOf(
21-
rootProject.projects.documentifyCore.identityPath.path,
22-
rootProject.projects.documentifyPlugin.identityPath.path,
21+
rootProject.projects.documentifyProject.documentifyCore.identityPath.path,
22+
rootProject.projects.documentifyProject.documentifyPlugin.identityPath.path,
2323
rootProject.projects.documentifyProject.documentifyMvc.identityPath.path,
2424
rootProject.projects.documentifyProject.documentifyReactive.identityPath.path,
2525
rootProject.projects.documentifyStarters.documentifyStarterMvc.identityPath.path,
@@ -124,7 +124,7 @@ repositories {
124124
kover {
125125
merge {
126126
projects(
127-
rootProject.projects.documentifyCore.identityPath.path,
127+
rootProject.projects.documentifyProject.documentifyCore.identityPath.path,
128128
rootProject.projects.documentifyProject.documentifyMvc.identityPath.path,
129129
rootProject.projects.documentifyProject.documentifyReactive.identityPath.path,
130130
rootProject.projects.documentifySample.mvcSample.identityPath.path,
@@ -136,4 +136,4 @@ kover {
136136
excludes.classes.add("**.sample.**")
137137
}
138138
}
139-
}
139+
}

documentify-project/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ subprojects {
44
}
55
dependencies {
66
compileOnly(rootProject.libs.spring.boot.starter.test)
7-
api(rootProject.projects.documentifyCore)
7+
if (project.path != rootProject.projects.documentifyProject.documentifyCore.identityPath.path) {
8+
api(rootProject.projects.documentifyProject.documentifyCore)
9+
}
810
}
911
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
dependencies {
22
implementation(libs.spring.boot.starter.test)
33
implementation(libs.restdocs.api.spec)
4+
implementation(libs.jackson.databind)
5+
implementation(libs.jackson.datatype.jsr310)
46
compileOnly(libs.spring.restdocs.mockmvc)
57
compileOnly(libs.spring.boot.starter.web)
68
compileOnly(libs.spring.boot.starter.webflux)
7-
api(libs.jackson.databind)
8-
api(libs.jackson.datatype.jsr310)
99
}

documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/emitter/AbstractDocumentEmitter.kt renamed to documentify-project/documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/emitter/AbstractDocumentEmitter.kt

File renamed without changes.

documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/emitter/FieldJsonMatcherAssociater.kt renamed to documentify-project/documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/emitter/FieldJsonMatcherAssociater.kt

File renamed without changes.

documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/emitter/SpecElementSampleAssociater.kt renamed to documentify-project/documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/emitter/SpecElementSampleAssociater.kt

File renamed without changes.

documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/environment/AbstractDocumentContextEnvironment.kt renamed to documentify-project/documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/environment/AbstractDocumentContextEnvironment.kt

File renamed without changes.

documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/environment/AbstractStandaloneContextEnvironment.kt renamed to documentify-project/documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/environment/AbstractStandaloneContextEnvironment.kt

File renamed without changes.

documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/environment/DocumentContextEnvironment.kt renamed to documentify-project/documentify-core/src/main/kotlin/io/github/bgmsound/documentify/core/environment/DocumentContextEnvironment.kt

File renamed without changes.

0 commit comments

Comments
 (0)