Commit 8c9c870c authored by Him188's avatar Him188

Modify comments

parent 2b2fb673
...@@ -3,6 +3,6 @@ apply plugin: "java" ...@@ -3,6 +3,6 @@ apply plugin: "java"
dependencies { dependencies {
api project(":mirai-core") 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") // classpath is not set correctly by IDE
implementation project(':mirai-console') implementation project(':mirai-console')
} }
...@@ -4,5 +4,5 @@ apply plugin: "java" ...@@ -4,5 +4,5 @@ apply plugin: "java"
dependencies { dependencies {
api project(':mirai-core') 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 // classpath is not set correctly by IDE
} }
...@@ -45,7 +45,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String) { ...@@ -45,7 +45,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String) {
dependencies { dependencies {
implementation(project(":mirai-core")) implementation(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")) // classpath is not added correctly by IDE
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion") implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
......
...@@ -3,7 +3,7 @@ apply plugin: "java" ...@@ -3,7 +3,7 @@ apply plugin: "java"
dependencies { dependencies {
api project(":mirai-core") 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") // classpath is not set correctly by IDE
api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
api group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion api group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
} }
...@@ -4,8 +4,8 @@ apply plugin: "application" ...@@ -4,8 +4,8 @@ apply plugin: "application"
dependencies { dependencies {
api project(":mirai-core") 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") // classpath is not set correctly by IDE
//runtime files("../../mirai-core/build/classes/atomicfu/jvm/main") // mpp targeting android limitation //runtime files("../../mirai-core/build/classes/atomicfu/jvm/main") // classpath is not set correctly by IDE
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion
implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment