|
| 1 | +import org.springframework.boot.gradle.plugin.SpringBootPlugin |
| 2 | + |
| 3 | +plugins { |
| 4 | + id 'java-library' |
| 5 | + |
| 6 | + alias libs.plugins.spring.boot |
| 7 | +// alias libs.plugins.cutterslade.analyze |
| 8 | +} |
| 9 | + |
| 10 | +dependencies { |
| 11 | + api project(":springwolf-core") |
| 12 | + api project(":springwolf-asyncapi") |
| 13 | + api project(":springwolf-bindings:springwolf-amqp-binding") |
| 14 | +// permitUnusedDeclared project(":springwolf-bindings:springwolf-amqp-binding") |
| 15 | + |
| 16 | + implementation libs.slf4j.api |
| 17 | + |
| 18 | + annotationProcessor platform(SpringBootPlugin.BOM_COORDINATES) |
| 19 | + implementation platform(SpringBootPlugin.BOM_COORDINATES) |
| 20 | + implementation libs.spring.context |
| 21 | + implementation libs.spring.core |
| 22 | + implementation libs.spring.web |
| 23 | + implementation libs.spring.boot |
| 24 | + implementation libs.spring.boot.autoconfigure |
| 25 | + implementation libs.azure.messaging.service.bus |
| 26 | + |
| 27 | + annotationProcessor libs.lombok |
| 28 | + compileOnly libs.lombok |
| 29 | + |
| 30 | + implementation libs.jakarta.annotation.api |
| 31 | + |
| 32 | + annotationProcessor libs.spring.boot.configuration.processor |
| 33 | + |
| 34 | + testAnnotationProcessor libs.lombok |
| 35 | + |
| 36 | + testImplementation libs.assertj.core |
| 37 | + |
| 38 | + testImplementation libs.mockito.core |
| 39 | + testImplementation libs.jackson.databind |
| 40 | + |
| 41 | + testImplementation libs.spring.boot.test |
| 42 | + testImplementation libs.spring.beans |
| 43 | + testImplementation libs.spring.test |
| 44 | + |
| 45 | + testAnnotationProcessor libs.lombok |
| 46 | + |
| 47 | + testImplementation libs.junit.jupiter.api |
| 48 | + testRuntimeOnly libs.junit.jupiter |
| 49 | + testRuntimeOnly libs.junit.plattform.launcher |
| 50 | +} |
| 51 | + |
| 52 | +jar { |
| 53 | + enabled = true |
| 54 | + archiveClassifier = '' |
| 55 | +} |
| 56 | +bootJar.enabled = false |
| 57 | + |
| 58 | +java { |
| 59 | + withJavadocJar() |
| 60 | + withSourcesJar() |
| 61 | +} |
| 62 | + |
| 63 | +publishing { |
| 64 | + publications { |
| 65 | + mavenJava(MavenPublication) { |
| 66 | + pom { |
| 67 | + name = 'springwolf-asb' |
| 68 | + description = 'Automated JSON API documentation for AMQP (Azure Service Bus) Listeners built with Spring' |
| 69 | + } |
| 70 | + } |
| 71 | + } |
| 72 | +} |
0 commit comments