From d74a6def4e4ea2a473cafedce589abbac0e099cb Mon Sep 17 00:00:00 2001 From: tursom Date: Sun, 10 Apr 2022 17:03:43 +0800 Subject: [PATCH] update --- .../tursom/gradle/TursomServerDependencies.kt | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ts-gradle/src/main/kotlin/cn/tursom/gradle/TursomServerDependencies.kt b/ts-gradle/src/main/kotlin/cn/tursom/gradle/TursomServerDependencies.kt index ef1a2f5..e3ac2c2 100644 --- a/ts-gradle/src/main/kotlin/cn/tursom/gradle/TursomServerDependencies.kt +++ b/ts-gradle/src/main/kotlin/cn/tursom/gradle/TursomServerDependencies.kt @@ -1,4 +1,4 @@ -@file:Suppress("unused", "ObjectPropertyName", "FunctionName") +@file:Suppress("unused", "ObjectPropertyName", "FunctionName", "HasPlatformType", "HasPlatformType") package cn.tursom.gradle @@ -144,6 +144,8 @@ val DependencyHandler.`ts-socket` get() = tursomServer("ts-socket") val DependencyHandler.`ts-web` get() = tursomServer("ts-web") val DependencyHandler.`ts-web-coroutine` get() = tursomServer("ts-web-coroutine") val DependencyHandler.`ts-web-netty` get() = tursomServer("ts-web-netty") +val DependencyHandler.`ts-web-netty-client` get() = tursomServer("ts-web-netty-client") +val DependencyHandler.`ts-web-okhttp` get() = tursomServer("ts-web-okhttp") fun DependencyHandler.`ts-core`( @@ -262,6 +264,14 @@ fun DependencyHandler.`ts-web-netty`( dependencyConfiguration: Action? = null ) = tursomServer("ts-web-netty", dependencyConfiguration = dependencyConfiguration) +fun DependencyHandler.`ts-web-netty-client`( + dependencyConfiguration: Action? = null +) = tursomServer("ts-web-netty-client", dependencyConfiguration = dependencyConfiguration) + +fun DependencyHandler.`ts-web-okhttp`( + dependencyConfiguration: Action? = null +) = tursomServer("ts-web-okhttp", dependencyConfiguration = dependencyConfiguration) + val DependencyHandler.ts_core get() = tursomServer("ts-core") val DependencyHandler.ts_async_http get() = tursomServer("ts-async-http") @@ -295,6 +305,8 @@ val DependencyHandler.ts_socket get() = tursomServer("ts-socket") val DependencyHandler.ts_web get() = tursomServer("ts-web") val DependencyHandler.ts_web_coroutine get() = tursomServer("ts-web-coroutine") val DependencyHandler.ts_web_netty get() = tursomServer("ts-web-netty") +val DependencyHandler.ts_web_netty_client get() = tursomServer("ts-web-netty-client") +val DependencyHandler.ts_web_okhttp get() = tursomServer("ts-web-okhttp") fun DependencyHandler.ts_core( @@ -412,3 +424,11 @@ fun DependencyHandler.ts_web_coroutine( fun DependencyHandler.ts_web_netty( dependencyConfiguration: Action? = null ) = tursomServer("ts-web-netty", dependencyConfiguration = dependencyConfiguration) + +fun DependencyHandler.ts_web_netty_client( + dependencyConfiguration: Action? = null +) = tursomServer("ts-web-netty-client", dependencyConfiguration = dependencyConfiguration) + +fun DependencyHandler.ts_web_okhttp( + dependencyConfiguration: Action? = null +) = tursomServer("ts-web-okhttp", dependencyConfiguration = dependencyConfiguration)