File tree Expand file tree Collapse file tree 7 files changed +18
-10
lines changed
springdoc-openapi-data-rest
springdoc-openapi-security
springdoc-openapi-webflux-core
springdoc-openapi-webmvc-core Expand file tree Collapse file tree 7 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,16 @@ subprojects {
7373
7474 publishing {
7575 publications {
76- maven(MavenPublication ) {
77- artifact jar
76+ mavenJava(MavenPublication ) {
77+ from components. java
78+ versionMapping {
79+ usage(' java-api' ) {
80+ fromResolutionOf(' runtimeClasspath' )
81+ }
82+ usage(' java-runtime' ) {
83+ fromResolutionResult()
84+ }
85+ }
7886 }
7987 }
8088 repositories {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ description = 'springdoc-openapi-data-rest'
33dependencies {
44 api project(' :springdoc-openapi-hateoas' )
55 api ' org.springframework.data:spring-data-rest-core'
6- implementation ' org.springframework.boot:spring-boot-starter-data-rest'
7- implementation ' com.querydsl:querydsl-core'
6+ compileOnly ' org.springframework.boot:spring-boot-starter-data-rest'
7+ compileOnly ' com.querydsl:querydsl-core'
88 testImplementation ' org.springframework.boot:spring-boot-starter-data-jpa'
99 testRuntime project(' :springdoc-openapi-webmvc-core' )
1010 testRuntime ' com.h2database:h2'
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ description = 'springdoc-openapi-groovy'
22
33dependencies {
44 api project(' :springdoc-openapi-common' )
5- implementation ' org.codehaus.groovy:groovy'
5+ compileOnly ' org.codehaus.groovy:groovy'
66 testImplementation project(' :springdoc-openapi-webmvc-core' )
77}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ apply plugin: 'kotlin'
55dependencies {
66 api project(' :springdoc-openapi-common' )
77 api ' com.fasterxml.jackson.module:jackson-module-kotlin'
8- implementation ' org.jetbrains.kotlin:kotlin-stdlib-jdk8'
9- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-reactor'
8+ compileOnly ' org.jetbrains.kotlin:kotlin-stdlib-jdk8'
9+ compileOnly ' org.jetbrains.kotlinx:kotlinx-coroutines-reactor'
1010 testImplementation project(' :springdoc-openapi-webflux-core' )
1111}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description = 'springdoc-openapi-security'
33dependencies {
44 api project(' :springdoc-openapi-common' )
55 api ' org.springframework.security:spring-security-core'
6- implementation ' org.springframework.security.oauth:spring-security-oauth2'
6+ compileOnly ' org.springframework.security.oauth:spring-security-oauth2'
77 testRuntime project(' :springdoc-openapi-webmvc-core' )
88 testRuntime ' javax.xml:jaxb-impl'
99 testCompile ' jakarta.servlet:jakarta.servlet-api'
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ description = 'springdoc-openapi-webflux-core'
33dependencies {
44 api project(' :springdoc-openapi-common' )
55 api ' org.springframework:spring-webflux'
6- implementation ' org.springframework.boot:spring-boot-starter-actuator'
6+ compileOnly ' org.springframework.boot:spring-boot-starter-actuator'
77}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description = 'springdoc-openapi-webmvc-core'
33dependencies {
44 api project(' :springdoc-openapi-common' )
55 api ' org.springframework:spring-webmvc'
6- implementation ' org.springframework.boot:spring-boot-starter-actuator'
6+ compileOnly ' org.springframework.boot:spring-boot-starter-actuator'
77 testImplementation ' org.hibernate.validator:hibernate-validator'
88 testImplementation ' javax.money:money-api'
99 compileOnly ' jakarta.servlet:jakarta.servlet-api'
You can’t perform that action at this time.
0 commit comments