Skip to content

Commit

Permalink
Merge pull request #141 from danger/migrate-from-moshi-to-kotlinx-ser…
Browse files Browse the repository at this point in the history
…ialization

Migrate from moshi to kotlinx serialization
  • Loading branch information
f-meloni committed Nov 22, 2020
2 parents 7bd1efb + cbfa89c commit b3b9661
Show file tree
Hide file tree
Showing 23 changed files with 654 additions and 933 deletions.
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

0 comments on commit b3b9661

Please sign in to comment.