Files
native-mdns/build.gradle.kts
T

44 lines
853 B
Kotlin
Raw Normal View History

2025-09-29 01:56:32 +08:00
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2025-09-29 01:43:17 +08:00
plugins {
kotlin("multiplatform") version "2.2.10"
2025-09-29 01:56:32 +08:00
id("maven-publish")
2025-09-29 01:43:17 +08:00
}
group = "cn.rtast.nmdns"
2025-09-29 01:56:32 +08:00
version = "0.0.1"
2025-09-29 01:43:17 +08:00
repositories {
mavenCentral()
}
kotlin {
linuxArm64()
linuxX64()
mingwX64()
macosArm64()
2025-09-29 01:56:32 +08:00
jvm { compilerOptions { jvmTarget = JvmTarget.JVM_11 } }
2025-09-29 01:43:17 +08:00
sourceSets {
commonMain.dependencies {
implementation("io.ktor:ktor-network:3.2.3")
}
commonTest.dependencies {
implementation(kotlin("test"))
}
}
}
2025-09-29 01:56:32 +08:00
publishing {
repositories {
mavenLocal()
maven("https://repo.maven.rtast.cn/releases") {
name = "RTAST"
credentials {
username = "RTAkland"
password = System.getenv("PUBLISH_TOKEN")
}
}
}
}