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