Skip to content

Commit f143dbf

Browse files
committed
Fixed access to an exception error
1 parent afb137f commit f143dbf

File tree

10 files changed

+16
-18
lines changed

10 files changed

+16
-18
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ LPFCP Java implements the LPFCP protocol — check out the [LPFCP protocol speci
5858
**Gradle**:
5959
```kotlin
6060
dependencies {
61-
implementation("io.github.likespro:lpfcp-core:1.0.0") // Core features: getProcessor, .processRequest, etc.
62-
implementation("io.github.likespro:lpfcp-ktor:1.0.0") // Integration with Ktor: lpfcpServer, Route.lpfcp, etc.
61+
implementation("io.github.likespro:lpfcp-core:1.1.0") // Core features: getProcessor, .processRequest, etc.
62+
implementation("io.github.likespro:lpfcp-ktor:1.1.0") // Integration with Ktor, for servers: lpfcpServer, Route.lpfcp, etc.
6363
}
6464
```
6565

@@ -69,14 +69,14 @@ dependencies {
6969
<dependency>
7070
<groupId>io.github.likespro</groupId>
7171
<artifactId>lpfcp-core</artifactId>
72-
<version>1.0.0</version>
72+
<version>1.1.0</version>
7373
</dependency>
7474

75-
<!-- Integration with Ktor: lpfcpServer, Route.lpfcp, etc. -->
75+
<!-- Integration with Ktor, for servers: lpfcpServer, Route.lpfcp, etc. -->
7676
<dependency>
7777
<groupId>io.github.likespro</groupId>
7878
<artifactId>lpfcp-ktor</artifactId>
79-
<version>1.0.0</version>
79+
<version>1.1.0</version>
8080
</dependency>
8181
```
8282

@@ -90,7 +90,7 @@ interface Calculator {
9090
```
9191

9292
### 2. Implement & Annotate (Server Code)
93-
Annotate your implementation class with `@LPFCP.ExposedFunction`:
93+
Annotate your implementation class functions with `@LPFCP.ExposedFunction`:
9494
```kotlin
9595
class CalculatorImpl : Calculator {
9696
@LPFCP.ExposedFunction

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ allprojects {
5555

5656
repositories {
5757
mavenCentral()
58-
mavenLocal() // For easier testing
58+
// mavenLocal() // For easier testing
5959
}
6060
}
6161

core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dependencies {
33
implementation("io.github.likespro:commons-reflection:3.1.0")
44
implementation("io.github.likespro:commons-network:3.1.0")
55

6-
api("org.json:json:20250107")
6+
implementation("com.google.code.gson:gson:2.13.1") // TODO remove this after commons:3.1.1
77

88
implementation(kotlin("reflect"))
99
}

examples/calculator-java/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
allprojects {
66
group = "io.github.likespro"
7-
version = "1.0.0"
7+
version = "1.1.0"
88

99
repositories {
1010
mavenCentral()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dependencies {
2-
implementation("io.github.likespro:lpfcp-core:1.0.0")
2+
implementation("io.github.likespro:lpfcp-core:1.1.0")
33
implementation(project(":shared"))
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
implementation("io.github.likespro:lpfcp-core:1.0.0")
3-
implementation("io.github.likespro:lpfcp-ktor:1.0.0")
2+
implementation("io.github.likespro:lpfcp-core:1.1.0")
3+
implementation("io.github.likespro:lpfcp-ktor:1.1.0")
44
implementation(project(":shared"))
55
}

examples/calculator-kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
allprojects {
77
group = "io.github.likespro"
8-
version = "1.0.0"
8+
version = "1.1.0"
99

1010
repositories {
1111
mavenCentral()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dependencies {
2-
implementation("io.github.likespro:lpfcp-core:1.0.0")
2+
implementation("io.github.likespro:lpfcp-core:1.1.0")
33
implementation(project(":shared"))
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
implementation("io.github.likespro:lpfcp-core:1.0.0")
3-
implementation("io.github.likespro:lpfcp-ktor:1.0.0")
2+
implementation("io.github.likespro:lpfcp-core:1.1.0")
3+
implementation("io.github.likespro:lpfcp-ktor:1.1.0")
44
implementation(project(":shared"))
55
}

ktor/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ dependencies {
22
implementation("io.ktor:ktor-server-netty:3.1.3")
33
implementation("io.ktor:ktor-server-core:3.1.3")
44

5-
implementation("org.json:json:20250107")
6-
75
implementation("io.github.likespro:commons-reflection:3.1.0")
86

97
implementation(project(":core"))

0 commit comments

Comments
 (0)