Skip to content

Commit

Permalink
Merge pull request springwolf#689 from ctasada/ctasada/minor-gradle-t…
Browse files Browse the repository at this point in the history
…weaks

chore: Minor Gradle tweaks
  • Loading branch information
ctasada authored Apr 7, 2024
2 parents 487e268 + fa60e1f commit 353045d
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ allprojects {
}

dependencyCheck {
outputDirectory = "$buildDir/reports/owasp-dependency-check"
outputDirectory = "${rootProject.layout.buildDirectory}/reports/owasp-dependency-check"
formats = [ReportGenerator.Format.SARIF.toString()]
nvd.apiKey = project.findProperty("OWASP_API_KEY")
analyzers.ossIndex.warnOnlyOnRemoteErrors = true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'java'
id 'java-library'

id 'org.springframework.boot'
id 'io.spring.dependency-management'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

plugins {
id 'java'
id 'java-library'

id 'org.springframework.boot'
id 'io.spring.dependency-management'
Expand Down
1 change: 0 additions & 1 deletion springwolf-asyncapi/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
id 'java'
id 'java-library'

id 'org.springframework.boot'
Expand Down
1 change: 0 additions & 1 deletion springwolf-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
id 'java'
id 'java-library'

id 'org.springframework.boot'
Expand Down
2 changes: 1 addition & 1 deletion springwolf-examples/springwolf-amqp-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {

implementation "org.springframework.amqp:spring-rabbit"
implementation "org.slf4j:slf4j-api:${slf4jApiVersion}"
implementation "io.swagger.core.v3:swagger-annotations:${swaggerVersion}"
implementation "io.swagger.core.v3:swagger-annotations-jakarta:${swaggerVersion}"

implementation "org.springframework.amqp:spring-amqp"
implementation "org.springframework.boot:spring-boot-autoconfigure"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {

implementation "org.apache.kafka:kafka-streams:${kafkaStreamsVersion}"
implementation "org.slf4j:slf4j-api:${slf4jApiVersion}"
implementation "io.swagger.core.v3:swagger-annotations:${swaggerVersion}"
implementation "io.swagger.core.v3:swagger-annotations-jakarta:${swaggerVersion}"

implementation "org.springframework.boot:spring-boot-autoconfigure"
implementation "org.springframework.boot:spring-boot"
Expand Down
2 changes: 1 addition & 1 deletion springwolf-examples/springwolf-jms-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {

implementation "org.slf4j:slf4j-api:${slf4jApiVersion}"

implementation "io.swagger.core.v3:swagger-annotations:${swaggerVersion}"
implementation "io.swagger.core.v3:swagger-annotations-jakarta:${swaggerVersion}"

implementation "org.springframework:spring-context"
implementation "org.springframework:spring-jms"
Expand Down
2 changes: 1 addition & 1 deletion springwolf-examples/springwolf-kafka-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ test {
openApi {
apiDocsUrl = "http://localhost:8080/springwolf/docs"
// For testing purposes we put the generated json into the test resources, but it could be any other directory
outputDir = file("$buildDir/resources/test")
outputDir = layout.buildDirectory.dir("resources/test")
outputFileName = "openapi-generated.json"
}

Expand Down
2 changes: 1 addition & 1 deletion springwolf-examples/springwolf-sns-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
runtimeOnly "org.springframework.boot:spring-boot-starter-web"

implementation "org.slf4j:slf4j-api:${slf4jApiVersion}"
implementation "io.swagger.core.v3:swagger-annotations:${swaggerVersion}"
implementation "io.swagger.core.v3:swagger-annotations-jakarta:${swaggerVersion}"

implementation 'io.awspring.cloud:spring-cloud-aws-sns'
implementation 'io.awspring.cloud:spring-cloud-aws-starter-sns'
Expand Down
4 changes: 2 additions & 2 deletions springwolf-plugins/springwolf-kafka-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies {
api project(":springwolf-asyncapi")
api project(":springwolf-core")

implementation "io.swagger.core.v3:swagger-models:${swaggerVersion}"
permitUnusedDeclared "io.swagger.core.v3:swagger-models:${swaggerVersion}"
implementation "io.swagger.core.v3:swagger-models-jakarta:${swaggerVersion}"
permitUnusedDeclared "io.swagger.core.v3:swagger-models-jakarta:${swaggerVersion}"
implementation "org.apache.kafka:kafka-clients:${kafkaClientsVersion}"
implementation "org.slf4j:slf4j-api:${slf4jApiVersion}"

Expand Down

0 comments on commit 353045d

Please sign in to comment.