Skip to content

Commit eb54838

Browse files
committed
Updated README
1 parent 9c212ec commit eb54838

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,30 @@ NOTE: The library is still under development
1616
WoT provides a protocol-agnostic architecture that supports an array of standards such as HTTP, WebSockets, MQTT, CoAP, and more, using protocol bindings to decouple application logic from transport-layer specifics. By leveraging widely adopted web standards like JSON, JSON Schema, and Linked Data, WoT ensures data and metadata are both interoperable and semantically rich, enabling intelligent systems to discover, understand, and communicate with Things efficiently.
1717
Designed for flexibility, WoT is applicable across a broad spectrum of domains, including AI-driven multi-agent systems, smart homes, and industrial IoT ecosystems. By using the [WoT Scripting API](https://www.w3.org/TR/wot-scripting-api/) you can directly communicate with Things via the Browser.
1818

19-
<img src="https://github.com/user-attachments/assets/5a1a4fc4-0cca-4290-b4b7-96309f723b0c" width="80%">
19+
## Adding kotlin-wot to Your Gradle Project
20+
21+
To use **kotlin-wot** in your project, you need to add the required dependencies and configure the repository in your `build.gradle.kts` file.
22+
23+
```kotlin
24+
plugins {
25+
kotlin("jvm") version "1.9.10"
26+
id("org.springframework.boot") version "3.1.5"
27+
id("io.spring.dependency-management") version "1.1.3"
28+
}
29+
30+
repositories {
31+
mavenCentral()
32+
maven {
33+
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
34+
}
35+
}
36+
37+
dependencies {
38+
implementation("org.eclipse.thingweb:kotlin-wot-spring-boot-starter:0.1.0-SNAPSHOT")
39+
implementation("org.eclipse.thingweb:kotlin-wot-binding-http:0.1.0-SNAPSHOT")
40+
implementation("org.eclipse.thingweb:kotlin-wot-binding-websocket:0.1.0-SNAPSHOT")
41+
}
42+
```
2043

2144
## Thing Description (TD)
2245

0 commit comments

Comments
 (0)