App Kotlin Multiplatform (Android/iOS/Desktop) con Compose Multiplatform: controllo intonazione (YIN), pratica guidata, metronomo, ear training, sfide, scansione spartiti via AI, spartiti bundled e pentagramma con glifi tipografici, travature, battute e spaziatura proporzionale. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
53 lines
1.4 KiB
Kotlin
53 lines
1.4 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.compose.multiplatform)
|
|
alias(libs.plugins.kotlin.compose)
|
|
}
|
|
|
|
kotlin {
|
|
jvm("desktop") {
|
|
compilations.all {
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
val desktopMain by getting {
|
|
dependencies {
|
|
implementation(project(":shared"))
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(compose.material3)
|
|
implementation(compose.foundation)
|
|
implementation(compose.runtime)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "com.notemusicali.MainKt"
|
|
|
|
nativeDistributions {
|
|
targetFormats(
|
|
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Dmg,
|
|
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Msi,
|
|
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Deb,
|
|
)
|
|
packageName = "InTono"
|
|
packageVersion = "1.0.0"
|
|
|
|
macOS {
|
|
infoPlist {
|
|
extraKeysRawXml = """
|
|
<key>NSMicrophoneUsageDescription</key>
|
|
<string>InTono ha bisogno del microfono per rilevare le note musicali suonate</string>
|
|
"""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|