mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 00:30:17 +08:00
7325c1f7e2
* build: fix build on Windows * test: fix ContentEqualsTest on native * build: allow disabling targets with property * fix: free ECDH-related resources properly on native avoid memory leaking (usually on *nix) or crash (usually on Windows) Signed-off-by: AdoptOSS <adoptoss@outlook.com> * build(workflow): remove invalid options * fix(styling): `mirai.target` property * build(workflow): try to limit memory usage during mirai-console:tools:gradle-plugin:integTest * enhance(test): use buildList * build(workflow): retry Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
20 lines
567 B
Kotlin
20 lines
567 B
Kotlin
/*
|
|
* Copyright 2019-2022 Mamoe Technologies and contributors.
|
|
*
|
|
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
|
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
|
*
|
|
* https://github.com/mamoe/mirai/blob/dev/LICENSE
|
|
*/
|
|
|
|
package net.mamoe.mirai.console.gradle
|
|
|
|
import kotlin.test.Test
|
|
|
|
class TestPluginApply : AbstractTest() {
|
|
|
|
@Test
|
|
fun `can apply plugin`() {
|
|
runGradle("clean", "--stacktrace")
|
|
}
|
|
} |