Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from moshi to kotlinx serialization #141

Merged
merged 12 commits into from
Nov 22, 2020
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
-->
## Master
- Update Kotlin to 1.4.10 [@gianluz] [#140](https://github.com/danger/kotlin/pull/140)
- Migrate from moshi to kotlinx serialization [@gianluz] [#141] (https://github.com/danger/kotlin/pull/141)

# 0.7.1

Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ buildscript {

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion"
classpath 'com.github.jengelman.gradle.plugins:shadow:5.0.0'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.2"
}
Expand All @@ -25,6 +26,9 @@ allprojects {
repositories {
mavenCentral()
jcenter()
maven {
url = "https://kotlin.bintray.com/kotlinx/"
}
}
}

2 changes: 2 additions & 0 deletions danger-kotlin-library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.serialization'
id 'maven-publish'
}

apply from: file('dependencies.gradle')
apply from: file('version.gradle')
apply plugin: 'kotlinx-serialization'

shadowJar {
baseName = 'danger-kotlin'
Expand Down