mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-30 19:00:33 +08:00
Fix build.gradle
This commit is contained in:
parent
5f4c3882cf
commit
10c377e891
@ -103,7 +103,7 @@ kotlin {
|
||||
|
||||
val jvmMain by getting {
|
||||
dependencies {
|
||||
runtimeOnly(files("build/classes/atomicfu/jvm/main")) // classpath is not properly set by IDE
|
||||
runtimeOnly(files("build/classes/kotlin/jvm/main")) // classpath is not properly set by IDE
|
||||
api(kotlinx("serialization-runtime", serializationVersion))
|
||||
}
|
||||
}
|
||||
@ -114,8 +114,8 @@ kotlin {
|
||||
api(kotlin("test-junit", kotlinVersion))
|
||||
implementation("org.pcap4j:pcap4j-distribution:1.8.2")
|
||||
|
||||
runtimeOnly(files("build/classes/atomicfu/jvm/main")) // classpath is not properly set by IDE
|
||||
runtimeOnly(files("build/classes/atomicfu/jvm/test")) // classpath is not properly set by IDE
|
||||
runtimeOnly(files("build/classes/kotlin/jvm/main")) // classpath is not properly set by IDE
|
||||
runtimeOnly(files("build/classes/kotlin/jvm/test")) // classpath is not properly set by IDE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,9 +4,10 @@ apply plugin: "application"
|
||||
apply plugin: "kotlinx-serialization"
|
||||
|
||||
dependencies {
|
||||
runtimeOnly files("../../mirai-core-qqandroid/build/classes/atomicfu/jvm/main") // IDE bug
|
||||
runtimeOnly files("../../mirai-core-qqandroid/build/classes/kotlin/jvm/main") // IDE bug
|
||||
implementation project(":mirai-core-qqandroid")
|
||||
|
||||
api("org.jetbrains.kotlinx:atomicfu:$atomicFuVersion")
|
||||
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
|
||||
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user