XDev.IO.Ktor
2.3.2.5
dotnet add package XDev.IO.Ktor --version 2.3.2.5
NuGet\Install-Package XDev.IO.Ktor -Version 2.3.2.5
<PackageReference Include="XDev.IO.Ktor" Version="2.3.2.5" />
paket add XDev.IO.Ktor --version 2.3.2.5
#r "nuget: XDev.IO.Ktor, 2.3.2.5"
// Install XDev.IO.Ktor as a Cake Addin #addin nuget:?package=XDev.IO.Ktor&version=2.3.2.5 // Install XDev.IO.Ktor as a Cake Tool #tool nuget:?package=XDev.IO.Ktor&version=2.3.2.5
Introduction
Nuget packaging for IO.Ktor java libs. This package is named XDev.IO.Ktor.Core.
".Core" because this nuget rolls-up several separate native libs that may need to be split out in the future.
The native libs in maven: https://mvnrepository.com/artifact/io.ktor native repo: https://github.com/ktorio/ktor
Getting Started
To use this nuget package, just install the desired version as you normally install nuget packs.
Build and Test
- VS 2022 or higher.
- .Net8 SDK required to build.
- This project uses XamPrototype.Android.MavenBinding.Tasks to aid pulling in the native jar-libs directly from maven. See here for more info: https://github.com/jpobst/Prototype.Android.MavenBindings
XamPrototype.Android.MavenBinding.Tasks is being integrated into .Net9 SDK build tools, and the usage rolls forward in .Net9, but no longer needs the nuget package for the build tool. https://learn.microsoft.com/en-us/dotnet/android/features/maven/android-maven-library
Known issues
initial release contains external native artifacts embedded into this package for
- org.jetbrains.kotlinx:kotlinx-datetime-jvm
- org.jetbrains.kotlinx:kotlinx-serialization-core-jvm
- org.jetbrains.kotlinx:kotlinx-serialization-json-jvm
- org.jetbrains.kotlinx:kotlinx-coroutines-slf4j
these may cause collisions if they are also included by other sources.
They will migrated to their own NuGet(s) n future release.
Contribute
If you need a different/newer version, PR, or open an issue in the .Net repo! https://xdevapps.visualstudio.com/DefaultCollection/Android%20bindings/_git/XDev.IO.Ktor.Core
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0-android33.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. |
-
net7.0-android33.0
- Square.OkHttp3 (>= 4.11.0)
- Xamarin.Kotlin.StdLib (>= 1.8.22)
- Xamarin.Kotlin.StdLib.Common (>= 1.8.22)
- Xamarin.Kotlin.StdLib.Jdk7 (>= 1.8.22)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 1.8.22)
- Xamarin.KotlinX.Coroutines.Core (>= 1.7.1)
- Xamarin.KotlinX.Coroutines.Core.Jvm (>= 1.7.1)
- Xamarin.KotlinX.Coroutines.Jdk8 (>= 1.7.1)
- XDev.Slf4j.Api (>= 1.7.36.4)
-
net8.0-android34.0
- Square.OkHttp3 (>= 4.11.0)
- Xamarin.Kotlin.StdLib (>= 1.8.22)
- Xamarin.Kotlin.StdLib.Common (>= 1.8.22)
- Xamarin.Kotlin.StdLib.Jdk7 (>= 1.8.22)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 1.8.22)
- Xamarin.KotlinX.Coroutines.Core (>= 1.7.1)
- Xamarin.KotlinX.Coroutines.Core.Jvm (>= 1.7.1)
- Xamarin.KotlinX.Coroutines.Jdk8 (>= 1.7.1)
- XDev.Slf4j.Api (>= 1.7.36.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.3.2.5 | 217 | 6/12/2024 |
initial release contains embedded external native artifacts for
- org.jetbrains.kotlinx:kotlinx-datetime-jvm
- org.jetbrains.kotlinx:kotlinx-serialization-core-jvm
- org.jetbrains.kotlinx:kotlinx-serialization-json-jvm
- org.jetbrains.kotlinx:kotlinx-coroutines-slf4j
that may cause collisions if they are also included by other sources.
They will removed in future release.