Fix dependency of mirai-core

This commit is contained in:
Him188 2019-11-10 21:46:40 +08:00
parent 19ca01b427
commit 7569395d90
3 changed files with 3 additions and 4 deletions

View File

@ -3,6 +3,6 @@ apply plugin: "java"
dependencies {
api project(":mirai-core")
runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // mpp targeting android limitation
runtime files("../mirai-core/build/classes/kotlin/jvm/main") // mpp targeting android limitation
implementation project(':mirai-console')
}

View File

@ -3,6 +3,6 @@ apply plugin: "java"
dependencies {
api project(':mirai-core')
implementation files('../../mirai-core/build/classes/kotlin/jvm/main')
implementation files('../mirai-core/build/classes/kotlin/jvm/main')
// mpp targeting android limitation
}

View File

@ -34,14 +34,13 @@ kotlin {
dependencies {
api(project(":mirai-core"))
runtimeOnly(files("../../mirai-core/build/classes/kotlin/jvm/main")) // mpp targeting android limitation
runtimeOnly(files("../mirai-core/build/classes/kotlin/jvm/main")) // mpp targeting android limitation
api("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
implementation("org.pcap4j:pcap4j-distribution:1.8.2")
implementation("no.tornado:tornadofx:1.7.17")
compile(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-javafx", version = "1.3.2")
implementation(files("./lib/jpcap.jar"))
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation("org.jetbrains.kotlinx:atomicfu:$atomicFuVersion")