File tree Expand file tree Collapse file tree 5 files changed +20
-13
lines changed
kotlin-wot-binding-websocket
kotlin-wot-integration-tests
kotlin-wot-spring-boot-starter Expand file tree Collapse file tree 5 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 1- plugins {
2- id(" io.ktor.plugin" ) version " 3.0.0"
3- }
4-
51dependencies {
2+ implementation(platform(" io.ktor:ktor-bom:3.0.3" ))
63 api(project(" :kotlin-wot" ))
74 implementation(" org.slf4j:slf4j-api" )
85 implementation(" io.ktor:ktor-server-core" )
Original file line number Diff line number Diff line change 1- plugins {
2- id(" io.ktor.plugin" ) version " 3.0.0"
3- }
4-
51dependencies {
2+ implementation(platform(" io.ktor:ktor-bom:3.0.3" ))
63 api(project(" :kotlin-wot" ))
74 api(project(" :kotlin-wot-lmos-protocol" ))
85 implementation(" org.slf4j:slf4j-api" )
Original file line number Diff line number Diff line change 1+ import org.springframework.boot.gradle.tasks.bundling.BootJar
2+
13plugins {
24 kotlin(" plugin.spring" ) version " 1.9.10"
35 id(" org.springframework.boot" ) version " 3.1.5" // Use the latest compatible version
@@ -18,4 +20,8 @@ dependencies {
1820 testImplementation(" org.springframework.boot:spring-boot-starter-test" )
1921 testImplementation(" com.hivemq:hivemq-mqtt-client:1.3.3" )
2022 implementation(" org.testcontainers:testcontainers:1.20.3" )
21- }
23+ }
24+
25+ tasks.withType<BootJar > {
26+ mainClass.set(" integration.AgentApplication" )
27+ }
Original file line number Diff line number Diff line change 1- plugins {
2- id(" io.ktor.plugin" ) version " 3.0.0"
3- }
4-
51dependencies {
2+ implementation(platform(" io.ktor:ktor-bom:3.0.3" ))
63 implementation(" io.ktor:ktor-serialization-jackson" )
74}
Original file line number Diff line number Diff line change 1+ import org.springframework.boot.gradle.tasks.bundling.BootJar
2+
13plugins {
24 kotlin(" plugin.spring" ) version " 1.9.10"
35 id(" org.springframework.boot" ) version " 3.1.5" // Use the latest compatible version
@@ -15,4 +17,12 @@ dependencies {
1517 testImplementation(" org.springframework.boot:spring-boot-starter-test" )
1618 testImplementation(project(" :kotlin-wot-binding-http" ))
1719 testImplementation(project(" :kotlin-wot-binding-websocket" ))
20+ }
21+
22+ tasks.getByName<BootJar >(" bootJar" ) {
23+ enabled = false
24+ }
25+
26+ tasks.getByName<Jar >(" jar" ) {
27+ enabled = true
1828}
You can’t perform that action at this time.
0 commit comments