mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-06 17:10:48 +08:00
parent
702e14ebfe
commit
a4f49ee9c4
@ -1,5 +1,3 @@
|
|||||||
import org.gradle.kotlin.dsl.DependencyHandlerScope
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2020 Mamoe Technologies and contributors.
|
* Copyright 2020 Mamoe Technologies and contributors.
|
||||||
*
|
*
|
||||||
@ -38,7 +36,7 @@ object Versions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
fun DependencyHandlerScope.kotlinx(id: String, version: String) = "org.jetbrains.kotlinx:kotlinx-$id:$version"
|
fun kotlinx(id: String, version: String) = "org.jetbrains.kotlinx:kotlinx-$id:$version"
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
fun DependencyHandlerScope.ktor(id: String, version: String) = "io.ktor:ktor-$id:$version"
|
fun ktor(id: String, version: String) = "io.ktor:ktor-$id:$version"
|
||||||
|
Loading…
Reference in New Issue
Block a user