initial: Kotlin/Gradle skeleton for cloud-installer
CI / build (push) Failing after 24s
CI / release (push) Has been skipped

Compiles to a 3.4 MB fat jar via shadow plugin.
Entrypoint with CLI dispatch (pull/push subcommands) + FlatLaf init.
Real sync logic stubbed; lands in subsequent commits per task plan.

Build via containerized gradle (8.10.2 + jdk21) to sidestep the
Kotlin 2.1 + JDK 26 compiler crash. Documented in README.

CI workflow tags-only release artifact upload prepared (needs
RELEASE_TOKEN secret in repo settings before first tag).
This commit is contained in:
2026-06-02 20:16:40 +02:00
commit 6ab43a168e
16 changed files with 817 additions and 0 deletions
@@ -0,0 +1,16 @@
package center.timemachine.cloud
import kotlin.test.Test
import kotlin.test.assertEquals
class SmokeTest {
@Test
fun `cli pull returns 0 in skeleton`() {
assertEquals(0, Cli.runPull(arrayOf("--url=http://localhost:9091")))
}
@Test
fun `cli push returns 0 in skeleton`() {
assertEquals(0, Cli.runPush(arrayOf("--url=http://localhost:9091")))
}
}