37 lines
1021 B
Groovy
37 lines
1021 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.0.9'
|
|
id 'io.spring.dependency-management' version '1.1.2'
|
|
}
|
|
|
|
group = 'inc.sdt.blokworks'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
jar {
|
|
enabled = false
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-undertow")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
implementation("org.springframework.boot:spring-boot-starter-amqp")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.integration:spring-integration-mqtt")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|