mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-13 12:03:51 +08:00
[build] Add dummy compileJava
and testClasses
to allow IntelliJ IDEA to run main functions from jvmTest
This commit is contained in:
parent
24a783de4a
commit
b500830a51
@ -173,6 +173,16 @@ if (tasks.findByName("androidMainClasses") != null) {
|
||||
configureMppPublishing()
|
||||
configureBinaryValidators(setOf("jvm", "android").filterTargets())
|
||||
|
||||
tasks.register("compileJava") {
|
||||
description = "Dummy task to allow IntelliJ IDEA to run main functions from jvmTest"
|
||||
dependsOn(tasks.getByName("compileKotlinJvm"))
|
||||
}
|
||||
|
||||
tasks.register("testClasses") {
|
||||
description = "Dummy task to allow IntelliJ IDEA to run main functions from jvmTest"
|
||||
dependsOn(tasks.getByName("compileTestKotlinJvm"))
|
||||
}
|
||||
|
||||
//mavenCentralPublish {
|
||||
// artifactId = "mirai-core"
|
||||
// githubProject("mamoe", "mirai")
|
||||
|
Loading…
Reference in New Issue
Block a user