From 8c9c870cf3e191047a3d352444df68679d5bcd8d Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 29 Nov 2019 21:39:13 +0800 Subject: [PATCH] Modify comments --- mirai-api/build.gradle | 2 +- mirai-console/build.gradle | 2 +- mirai-debug/build.gradle.kts | 2 +- mirai-demos/mirai-demo-1/build.gradle | 2 +- mirai-demos/mirai-demo-gentleman/build.gradle | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mirai-api/build.gradle b/mirai-api/build.gradle index 52258dfa6..7c70868a2 100644 --- a/mirai-api/build.gradle +++ b/mirai-api/build.gradle @@ -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") // classpath is not set correctly by IDE implementation project(':mirai-console') } diff --git a/mirai-console/build.gradle b/mirai-console/build.gradle index 8ab5c6293..49c9f0697 100644 --- a/mirai-console/build.gradle +++ b/mirai-console/build.gradle @@ -4,5 +4,5 @@ apply plugin: "java" dependencies { api project(':mirai-core') implementation files('../mirai-core/build/classes/kotlin/jvm/main') - // mpp targeting android limitation + // classpath is not set correctly by IDE } diff --git a/mirai-debug/build.gradle.kts b/mirai-debug/build.gradle.kts index a2df09510..cbc0d14bf 100644 --- a/mirai-debug/build.gradle.kts +++ b/mirai-debug/build.gradle.kts @@ -45,7 +45,7 @@ fun DependencyHandlerScope.ktor(id: String, version: String) { dependencies { 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") diff --git a/mirai-demos/mirai-demo-1/build.gradle b/mirai-demos/mirai-demo-1/build.gradle index fa44a21a7..95bd7c2cf 100644 --- a/mirai-demos/mirai-demo-1/build.gradle +++ b/mirai-demos/mirai-demo-1/build.gradle @@ -3,7 +3,7 @@ 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") // classpath is not set correctly by IDE api group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion api group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion } diff --git a/mirai-demos/mirai-demo-gentleman/build.gradle b/mirai-demos/mirai-demo-gentleman/build.gradle index e85e6b802..592ca50d0 100644 --- a/mirai-demos/mirai-demo-gentleman/build.gradle +++ b/mirai-demos/mirai-demo-gentleman/build.gradle @@ -4,8 +4,8 @@ apply plugin: "application" dependencies { api project(":mirai-core") - runtime files("../../mirai-core/build/classes/kotlin/jvm/main") // mpp targeting android limitation - //runtime files("../../mirai-core/build/classes/atomicfu/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") // classpath is not set correctly by IDE implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: kotlinVersion implementation group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: coroutinesVersion