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

Update Kotlin and Kotlin Serialization libraries #37

Merged

Conversation

misa
Copy link
Contributor

@misa misa commented Dec 26, 2020

Updated

  • Kotlin 1.4.21
  • Kotlin Serialization 1.0.1
  • Gradle 6.7.1

Fixes #38

@CLAassistant
Copy link

CLAassistant commented Dec 26, 2020

CLA assistant check
All committers have signed the CLA.

@viclovsky viclovsky added the type:improvement Improvements or additions to documentation label Dec 28, 2020
@KolinLoures
Copy link

it will be nice to merge fast 👍
it will fix problem in my project

Copy link
Collaborator

@viclovsky viclovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGFM 👍

android.enableJetifier=true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it still use android.enableJetifier=true ? as I saw in allure-kotlin-android you don't use any old support libraries

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, seems redundant ATM. When this code was being written some libraries were still not ported to androidx.

@RuslanSelenium
Copy link

I have the similar problem, waiting for merge <3

import java.io.File
import java.io.IOException
import java.io.InputStream
import java.util.UUID

class FileSystemResultsWriter(private val outputDirectory: File) : AllureResultsWriter {
private val mapper: Json = Json(JsonConfiguration(prettyPrint = true, useArrayPolymorphism = true))
private val mapper: Json = Json { prettyPrint = true; useArrayPolymorphism = true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: please break a line to avoid using semicolon

Json {
  prettyPrint = true
  useArrayPolymorphism = true
}

android.enableJetifier=true

org.gradle.caching=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvements : ] Those properties should speed up the builds a little bit

@viclovsky viclovsky merged commit 5bbe512 into allure-framework:master Dec 29, 2020
@misa
Copy link
Contributor Author

misa commented Dec 29, 2020

I was about to push the code formatting and the Jetifier changes now but I guess it can be done later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:improvement Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stable version of Kotlin Serialization
7 participants