XDev.IO.Ktor
2.3.2.7
dotnet add package XDev.IO.Ktor --version 2.3.2.7
NuGet\Install-Package XDev.IO.Ktor -Version 2.3.2.7
<PackageReference Include="XDev.IO.Ktor" Version="2.3.2.7" />
<PackageVersion Include="XDev.IO.Ktor" Version="2.3.2.7" />
<PackageReference Include="XDev.IO.Ktor" />
paket add XDev.IO.Ktor --version 2.3.2.7
#r "nuget: XDev.IO.Ktor, 2.3.2.7"
#:package XDev.IO.Ktor@2.3.2.7
#addin nuget:?package=XDev.IO.Ktor&version=2.3.2.7
#tool nuget:?package=XDev.IO.Ktor&version=2.3.2.7
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
.net9 SDk does not play well with this repo, so the global.json is set to use .net8 SDK to help local builds.
{
"sdk":
{
"version": "8.0.412",
"rollForward": "disable"
}
}
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 | net8.0-android34.0 is compatible. net9.0-android was computed. net10.0-android was computed. |
-
net8.0-android34.0
- Square.OkHttp3 (>= 4.11.0.3)
- Xamarin.Kotlin.StdLib (>= 2.0.21.3)
- Xamarin.Kotlin.StdLib.Common (>= 2.0.21.3)
- Xamarin.Kotlin.StdLib.Jdk7 (>= 2.0.21.3)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 2.0.21.3)
- Xamarin.KotlinX.AtomicFU (>= 0.20.2)
- Xamarin.KotlinX.Coroutines.Core (>= 1.7.1)
- Xamarin.KotlinX.Coroutines.Core.Jvm (>= 1.7.1)
- Xamarin.KotlinX.Coroutines.Jdk8 (>= 1.7.1)
- Xamarin.KotlinX.Serialization.Core (>= 1.7.3.4)
- Xamarin.KotlinX.Serialization.Core.Jvm (>= 1.7.3.4)
- Xamarin.KotlinX.Serialization.Json (>= 1.7.3.4)
- Xamarin.KotlinX.Serialization.Json.Jvm (>= 1.7.3.4)
- XDev.Jetbrains.KotlinX.Coroutines.Slf4j (>= 1.7.1.5)
- XDev.Jetbrains.KotlinX.Datetime (>= 0.4.0.2)
- 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.
- updates dependencies:
XDev.Jetbrains.KotlinX.Coroutines.Slf4j -> 1.7.1.5
XDev.Jetbrains.KotlinX.Serialization -> Xamarin.KotlinX.Serialization.Core
KotlinX.Stdlib to 2.0.21.3 to match Xamarin.KotlinX.Serialization.Core