-
Notifications
You must be signed in to change notification settings - Fork 21
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
Update Kotlin and Kotlin Serialization libraries #37
Conversation
it will be nice to merge fast 👍 |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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 } |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
I was about to push the code formatting and the Jetifier changes now but I guess it can be done later. |
Updated
Fixes #38