Files
m-stecmd/ble-protocol/build.gradle.kts
❀ » Cato Sweeney. ❀ » Console@the.bb dec274b1af *
2026-09-03 17:14:31 +08:00

22 lines
591 B
Kotlin
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// ble-protocol纯 Kotlin JVM 模块,零第三方依赖(测试框架除外)
// 职责IE-1000 / VM208 蓝牙帧的解析与编码,脱离 Android 可独立单测
plugins {
alias(libs.plugins.kotlin.jvm)
}
kotlin {
// 本机无 JDK 17 工具链,用当前 JVM21编译统一输出 Java 17 字节码
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
dependencies {
testImplementation(libs.junit)
}