Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : MacLustr Identity8 * File : sdk/kotlin/identity-core/build.gradle.kts9 * Module : sdk10 * Repository : https://git.spboucher.ai/maclustr-identity11 * Project Website : https://identity.spboucher.ai12 * Created : 2026-12-0113 * Last Modified : 2026-12-0114 *15 * Author : Simon-Pierre Boucher16 * Position : Professor of Finance17 * Institution : Université du Québec en Outaouais (UQO)18 * Organization : SP Boucher19 * Website : https://spboucher.ai20 * Git : https://git.spboucher.ai21 *22 * Preferred Contact: admin@spboucher.ai23 * Technical Contact: dev@spboucher.ai24 * Security/Admin : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142// identity-core: API client, models, state machine, strings. Pure JVM so that its tests run without an emulator.43import org.jetbrains.kotlin.gradle.dsl.JvmTarget4445plugins {46 id("org.jetbrains.kotlin.jvm")47}4849group = "ai.spboucher.maclustr"50version = "1.1.0"5152java {53 sourceCompatibility = JavaVersion.VERSION_1754 targetCompatibility = JavaVersion.VERSION_1755}56kotlin {57 compilerOptions { jvmTarget.set(JvmTarget.JVM_17) }58 explicitApi()59}6061dependencies {62 api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0")63 implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.13.0")64 testImplementation("junit:junit:4.13.2")65}6667tasks.test {68 useJUnit()69 // Integration tests are enabled by these variables; rerun when they change.70 listOf("MLID_TEST_BASE_URL", "MLID_TEST_API_KEY", "MLID_TEST_LIVE_API_KEY", "MLID_TEST_FIXTURES").forEach {71 inputs.property(it, (System.getenv(it) ?: "").hashCode())72 }73 testLogging { events("failed", "skipped") }74}75