-
Notifications
You must be signed in to change notification settings - Fork 332
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 some of dependencies and compile fix. #676
Update some of dependencies and compile fix. #676
Conversation
👀 |
@@ -94,6 +94,7 @@ object Depends { | |||
object Groupie { | |||
val core = "com.xwray:groupie:${Versions.groupie}" | |||
val binding = "com.xwray:groupie-databinding:${Versions.groupie}" | |||
val kotlinExtensions = "com.xwray:groupie-kotlin-android-extensions:${Versions.groupie}" |
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.
Probably you don't use this dependency 👀
} | ||
dependencies { | ||
classpath(kotlin("gradle-plugin", Versions.kotlin)) | ||
} | ||
} | ||
|
||
allprojects { |
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 think allprojects
is not needed. 📁
What do you think?
repositories {
google()
jcenter()
}
@@ -13,7 +13,7 @@ data class StaffItem( | |||
) : BindableItem<ItemStaffBinding>(staff.name.hashCode().toLong()) { | |||
|
|||
override fun createViewHolder(itemView: View): ViewHolder<ItemStaffBinding> { | |||
return ViewHolder(DataBindingUtil.bind(itemView)) | |||
return ViewHolder(DataBindingUtil.bind(itemView)!!) |
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.
Probably we can use HogeHogeBinding.inflate(xxx) method. 👀
But If you don't have time, I think that is fine as it is.
Thank you for resolving problems !! 👍 That's cool 🆒 |
@@ -219,7 +219,8 @@ dependencies { | |||
} | |||
|
|||
repositories { | |||
mavenCentral() | |||
jcenter() |
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.
please make sure google()
is before jcenter()
@@ -1,4 +1,5 @@ | |||
import org.gradle.api.JavaVersion.VERSION_1_7 |
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.
it looks like this import is unused 👀
@@ -0,0 +1 @@ | |||
// Top-level build file where you can add configuration options common to all sub-projects/modules. |
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.
👀 is this needed?
Probably this is occurred by Kotlin DSL |
Issue
Overview (Required)
Links
Screenshot