Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sib61/ktorclientdemo
https://github.com/sib61/ktorclientdemo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sib61/ktorclientdemo
- Owner: SIB61
- Created: 2022-03-17T19:54:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-21T12:19:07.000Z (almost 3 years ago)
- Last Synced: 2024-11-13T09:43:32.767Z (3 months ago)
- Language: Kotlin
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Andoroid Ktor Client
A brief description of what this project does and who it's for
## Dependencies for ktor and kotlinx-serialization
```kotlindependencies {
......
.........
implementation "io.ktor:ktor-client-core:$ktor_version"
implementation "io.ktor:ktor-client-android:$ktor_version"
implementation "io.ktor:ktor-client-logging:$ktor_version"
implementation "io.ktor:ktor-client-content-negotiation:$ktor_version"
implementation "io.ktor:ktor-serialization-kotlinx-json:$ktor_version"
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2'
}```
## Versions
```groovy
ext {
......
........
kotlin_version = '1.6.10'
ktor_version = '2.0.0-beta-1'
}```
## Buildscript classpaths
```Groovy
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
```