Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 시밀란
- Gradle
- 러브자그레브
- Concurrency #Swift #Combine
- SwiftUI #Skeleton #데이터갱신
- 세비야
- 라이브러리
- 대한항공
- 크로아티아
- 지팍스페인
- cocoapod
- 리브어보드
- 아시아나
- 러브스플리트
- Cocoapods #PrivateRepo #SpecRepo
- 강릉
- 스페인광장
- 그라나다
- 괌 자유여행
- 스플리트
- Device 등록
- 도심공항
- swiftUI
- 연금저축펀드
- 푸켓여행
- 스페인여행
- Swift #Concurrency #쓰레드
- 스쿠버다이빙
- 공기먹는다이버스
- xcode
Archives
- Today
- Total
JEP's Diary
Kotlinx Serialization 본문
Kotlinx Serialization 세팅하는 방법이 어렵지 않은데..왜 헤맸지ㅜ
세팅방법 적어놓기
https://github.com/Kotlin/kotlinx.serialization
build.gradle(app)
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
id 'kotlin-kapt'
id 'kotlinx-serialization'
}
dependencies {
// kotlin serialization
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1'
}
build.gradle
buildscript {
ext.kotlin_version = "1.4.20"
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}