-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add square/wire #84
base: main
Are you sure you want to change the base?
Add square/wire #84
Conversation
thanks @sijanr , will have a look and expand on it, but not very soon because I'm moving home 👍 |
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.
I noted many things that are out of the scope of this PR.
Also, It seems that this PR is not ready, so I'm converting it to a draft until you request a review again.
repositories { | ||
mavenLocal() | ||
mavenCentral() |
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 did you remove mavenCentral()
?
wire { | ||
kotlin { | ||
|
||
} | ||
} |
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 this empty config?
google() | ||
jcenter() | ||
maven(url = "https://dl.bintray.com/kotlin/kotlin-eap/") | ||
} | ||
|
||
|
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 a random added line?
@@ -49,6 +58,7 @@ dependencies { | |||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:_") | |||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:_") | |||
implementation("org.kodein.di:kodein-di:_") | |||
implementation ("com.squareup.wire:wire-runtime:3.4.0") |
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.
Did you read the contributing guide? If so, please read it again, otherwise, please read it, there's some important considerations regarding adding dependencies.
tasks.register("run", JavaExec::class.java) { | ||
this.main = "playground._mainKt" | ||
} | ||
|
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 this random line break?
tasks.register("run", JavaExec::class.java) { | ||
this.main = "playground._mainKt" | ||
} |
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 did you remove this?
repositories { mavenLocal() ; gradlePluginPortal() } | ||
repositories { mavenLocal() } |
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 did you remove the gradlePluginPortal()
repo?
@@ -12,6 +19,7 @@ plugins { | |||
id("com.gradle.enterprise") version "3.4.1" | |||
} | |||
|
|||
|
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 this line break?
@@ -21,6 +29,7 @@ gradleEnterprise { | |||
} | |||
} | |||
|
|||
|
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 this line break?
fun main() { | ||
} |
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 this empty main function?
Closes #8