Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ vanniktech-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plug
ktfmt-gradle-plugin = { module = "com.ncorti.ktfmt.gradle:com.ncorti.ktfmt.gradle.gradle.plugin", version.ref = "ktfmt-plugin" }

# Libraries
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
funfix-tasks-jvm = { module = "org.funfix:tasks-jvm", version = "0.4.1" }
hikaricp = { module = "com.zaxxer:HikariCP", version = "7.0.2" }
logback-classic = { module = "ch.qos.logback:logback-classic", version = "1.5.32" }
Expand Down
19 changes: 19 additions & 0 deletions jdbc4k/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Agents Guide: JDBC4K

This is a **Kotlin/JVM** utility library for working with JDBC. It is designed for internal use by other Funfix projects.

## Rules
- **Kotlin-first**: Public APIs are Kotlin idiomatic. No Java interop constraints.
- **Dependencies**: Only `kotlin-stdlib` is allowed for now. No external dependencies unless explicitly approved.
- **TDD**: Write tests before implementation.
- **Binary Compatibility**: Do not change or remove published public members. Add overloads instead.
- **Code Style**: Follow repository conventions (ktfmt, official Kotlin style).

## Testing
- Use Kotlin for internal tests (`src/test/kotlin`).
- Use Java for public API tests (`src/test/java`) if the API is intended for Java consumers.
- Strive for full test coverage.

## Publishing
- This project is published to Maven Central via the `delayedqueue.publish` plugin.
- Version is inherited from the root project (`gradle.properties`).
Empty file added jdbc4k/api/jdbc4k.api
Empty file.
24 changes: 24 additions & 0 deletions jdbc4k/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
plugins {
id("delayedqueue.base")
id("delayedqueue.publish")
id("delayedqueue.versions")
}

mavenPublishing {
pom {
name.set("Funfix JDBC4K")
description.set(
"Kotlin utilities for working with JDBC, designed for internal use by Funfix projects."
)
}
}

dependencies {
implementation(libs.kotlin.stdlib)

testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testRuntimeOnly(libs.junit.platform.launcher)
}

tasks.test { useJUnitPlatform() }
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
rootProject.name = "delayedqueue"

include("delayedqueue-jvm")
include("jdbc4k")

pluginManagement {
repositories {
Expand Down
Loading