Skip to content

Commit 104e540

Browse files
committed
chore: gradle dep updates
1 parent 79169bb commit 104e540

File tree

3 files changed

+84
-8
lines changed

3 files changed

+84
-8
lines changed

.aiassistant/rules/rules.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
apply: always
3+
---
4+
5+
Kotlin Multiplatform Project - AI Instructions
6+
7+
## Tech Stack
8+
9+
- **Kotlin**: 2.3.0-Beta2 (use latest features)
10+
- **Build System**: Amper (latest dev version)
11+
- **Java Target**: 25
12+
- **Platform**: Kotlin Multiplatform
13+
14+
## Core Libraries
15+
16+
- `kotlinx-coroutines` - Asynchronous programming
17+
- `kotlinx-serialization` - JSON/XML serialization
18+
- `kotlinx-datetime` - Date/time handling
19+
- `kotlinx-io` - I/O operations
20+
- `ktor-client` - HTTP client
21+
- `io.github.oshai:kotlin-logging` - Logging
22+
- `dev.whyoleg.cryptography:cryptography-core` - Cryptography
23+
24+
**Important**:
25+
26+
- Always check `libs.versions.toml` for existing library versions before adding or updating dependencies.
27+
- Use the latest stable versions of core libraries when adding new dependencies.
28+
29+
## Code Standards
30+
31+
### Style & Quality
32+
33+
- Write simple, clean, **idiomatic, and concise** Kotlin code
34+
- Avoid verbose or overly complex solutions
35+
- Use Kotlin stdlib functions before third-party libraries
36+
- Follow official Kotlin coding conventions
37+
- Prefer functional style where appropriate
38+
- Avoid excessive scope function nesting (`.let{}`, `.apply{}`, etc.)
39+
40+
### Kotlin Multiplatform
41+
42+
- Write common code compatible with all JVM and Native targets
43+
- Use `expect`/`actual` declarations only when platform-specific code is required
44+
- Prefer common Kotlin libraries over platform-specific ones
45+
46+
### Code Conversion from Other Languages
47+
48+
- **Never** translate code line-by-line from other languages
49+
- Rewrite code idiomatically using Kotlin's features and conventions
50+
- Replace loops with stdlib functions (`map`, `filter`, `fold`, etc.)
51+
- Use Kotlin's null safety, data classes, and extension functions
52+
- Simplify verbose patterns with concise Kotlin equivalents
53+
- Leverage stdlib before adding dependencies
54+
55+
### Requirements
56+
57+
- Production-ready code only (no bugs, placeholders, or TODOs)
58+
- Do not introduce bugs to existing code
59+
- Use modern Kotlin features from the latest available version
60+
- Add **concise, clean, idiomatic** error handling
61+
- Include KDoc comments for public APIs
62+
- Use meaningful, **concise** variable names
63+
64+
### Research & References
65+
66+
- Check well-maintained GitHub projects for implementation patterns
67+
- Verify library usage against official documentation
68+
69+
## Documentation Links
70+
71+
- [Kotlin Docs](https://kotlinlang.org/docs/home.html)
72+
- [Kotlinx Coroutines](https://github.com/Kotlin/kotlinx.coroutines)
73+
- [Kotlinx I/O](https://github.com/Kotlin/kotlinx-io)
74+
- [Amper Build System](https://github.com/JetBrains/amper)
75+
- [Gradle User Guide](https://docs.gradle.org/current/userguide/userguide.html)
76+
- [Java 25 API](https://docs.oracle.com/en/java/javase/25/docs/api/index.html)

gradle/libs.versions.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kotlin-jvmtarget = "21"
66
kotlin-dsl-jvmtarget = "21"
77
kotlin-api-version = "2.3"
88
kotlin-lang-version = "2.3"
9-
gradle = "9.2.0-rc-3"
9+
gradle = "9.2.0"
1010
java-vendor = "Oracle"
1111
java-jvmargs = "--enable-preview"
1212
java-addmodules = "jdk.incubator.vector"
@@ -145,7 +145,7 @@ parsus = "0.6.1"
145145
ksoup = "0.2.5"
146146
java-keyring = "1.0.4"
147147
java-keychain = "1.1.0"
148-
arrow-suspendapp = "2.2.0-beta.8"
148+
arrow-suspendapp = "2.2.0-beta.11"
149149
hikariCP = "7.0.2"
150150
h2 = "2.4.240"
151151
micrometer = "1.16.0-RC1"
@@ -167,7 +167,7 @@ kubernetes-client = "24.0.0"
167167
reflect-typeparamresolver = "1.0.3"
168168
reflect-typetools = "0.6.3"
169169
async-profiler = "4.2"
170-
ap-loader-all = "4.1-10"
170+
ap-loader-all = "4.2-10"
171171
openjdk-jmc = "9.1.1"
172172
airlift-aircompressor = "2.0.2"
173173
airlift-security = "355"
@@ -192,7 +192,7 @@ langchain4j-jlama = "1.8.0-beta15"
192192
langchain4j-kotlin = "0.3.0"
193193
jlama = "0.8.4"
194194
mcp-kotlin = "0.7.4"
195-
koog = "0.5.1"
195+
koog = "0.5.2"
196196
mcp4k = "0.4.6"
197197
dflib = "2.0.0-M4"
198198
ldaptive = "2.4.2"
@@ -209,14 +209,14 @@ voices = "0.0.8"
209209
onnx = "1.23.2"
210210
angus-mail = "2.1.0-M1"
211211
simplemail = "8.12.6"
212-
javelit = "0.56.0"
212+
javelit = "0.57.0"
213213

214214
# Compose
215215
jetbrains-compose = "1.10.0-alpha03"
216216
jetbrains-compose-viewmodel = "2.10.0-alpha03"
217217
jetbrains-compose-nav = "2.9.1"
218218
jetbrains-compose-nav3 = "1.0.0-alpha03"
219-
jetbrains-compose-adaptive = "1.2.0-beta01"
219+
jetbrains-compose-adaptive = "1.2.0"
220220
jetbrains-compose-icons = "1.7.3"
221221
kobweb = "0.23.3"
222222
detekt = "2.0.0-alpha.1"
@@ -254,7 +254,7 @@ kmpmt = "0.1.1"
254254
tasktree = "4.0.1"
255255
sigstore = "2.0.0-rc2"
256256
reproducible-builds = "1.1"
257-
autonomousapps-depanalysis = "3.3.0"
257+
autonomousapps-depanalysis = "3.4.0"
258258
autonomousapps-bestpractices = "0.10"
259259
graalvm-nativeimage = "0.11.2"
260260
github-depgraph = "0.1.0"

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-rc-3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)