Skip to content

Commit ab1c8b5

Browse files
author
bnasslahsen
committed
project review
1 parent e1ccd0f commit ab1c8b5

File tree

7 files changed

+18
-10
lines changed

7 files changed

+18
-10
lines changed

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

springdoc-openapi-data-rest/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description = 'springdoc-openapi-data-rest'
33
dependencies {
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'

springdoc-openapi-groovy/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ description = 'springdoc-openapi-groovy'
22

33
dependencies {
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
}

springdoc-openapi-kotlin/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'kotlin'
55
dependencies {
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
}

springdoc-openapi-security/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description = 'springdoc-openapi-security'
33
dependencies {
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'

springdoc-openapi-webflux-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ description = 'springdoc-openapi-webflux-core'
33
dependencies {
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
}

springdoc-openapi-webmvc-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description = 'springdoc-openapi-webmvc-core'
33
dependencies {
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'

0 commit comments

Comments
 (0)