- Backend: ShallowEtagHeaderFilter for /api/v1/*, API-VERSIONING.md, README (tenant, CORS, Flyway, ETag) - k8s: backend-deployment.yaml (Deployment, Service, Secret/ConfigMap) - Web: scaffold with directory pull, 304 handling, touch-friendly UI - Android 16: ANDROID-16-TARGET.md; BuildConfig STUN/signaling, SMOAApplication configures InfrastructureManager - Domain: CertificateManager revocation stub, ReportService signReports, ZeroTrust/ThreatDetection minimal docs - TODO.md and IMPLEMENTATION_STATUS.md updated; communications README for endpoint config Co-authored-by: Cursor <cursoragent@cursor.com>
51 lines
1.5 KiB
Kotlin
51 lines
1.5 KiB
Kotlin
plugins {
|
|
kotlin("jvm") version "1.9.20"
|
|
kotlin("plugin.spring") version "1.9.20"
|
|
kotlin("plugin.jpa") version "1.9.20"
|
|
id("org.springframework.boot") version "3.2.2"
|
|
id("io.spring.dependency-management") version "1.1.4"
|
|
}
|
|
|
|
group = "com.smoa"
|
|
version = "1.0.0"
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
|
|
// OpenAPI / Swagger
|
|
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0")
|
|
|
|
// Auth
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
|
|
// Database (H2 for development; switch to PostgreSQL in production)
|
|
runtimeOnly("com.h2database:h2")
|
|
implementation("org.flywaydb:flyway-core")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
testImplementation("io.mockk:mockk:1.13.8")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.bootRun {
|
|
jvmArgs = listOf("-Dspring.profiles.active=dev")
|
|
}
|