-
Notifications
You must be signed in to change notification settings - Fork 14
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 gradle dependencies for October 2018 #311
Update gradle dependencies for October 2018 #311
Conversation
build.gradle
Outdated
@@ -106,6 +106,10 @@ subprojects { | |||
apply plugin: 'com.android.library' | |||
} | |||
apply plugin: 'kotlin-android' | |||
if (name != 'analytics' && name != 'image') { | |||
// Most modules make use of the synthetic accessors; ':db' uses the experimental 'Parcelize' annotation, so it does some configuration beyond that. | |||
apply plugin: 'kotlin-android-extensions' |
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 know these two don't need it but is there harm in applying them? looking at this from a simplification stand point
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.
Slightly, yes. Since I'm
- trying to avoid changing functionality here
- still not confident I know precisely what the plugin does
I scheduled that for a subsequent PR. For a point of reference, the first time you apply the kapt plugin to a module you add at least .5 seconds to the configuration time.
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.
...you're not going to take no for an answer, are you?
I'll rebase on dev and add a few commits I forgot to push up. |
3ab43aa
to
471f10a
Compare
As it stands, 24 out of 27 build.gradle files apply that.
This reduces most gradle files to just a list of dependencies
This moves all such statements in search/build.gradle to be in a single block.
This also splits the `implementation` and `api` statements in the ui/build.gradle file.
In addition to sorting those entries in welcome/build.gradle, we now only have one `implementation libs.constraint_layout` declaration.
This intends to put more emphasis on the `implementation project(':base')` line in navigation/build.gradle.
471f10a
to
f4ba0df
Compare
This is the first in what will hopefully be a series of regular maintenance changesets. This deals primarily with standardizing the 27
build.gradle
files currently included in the repository.While the functionality of output APKs should not be different, with any luck these changes will shed some light onto our ongoing build instability. Specific fixes for that issue are being developed at #285.
Included in this PR:
apply plugin: X
lines from 26build.gradle
filescom.android.library
(x1)kotlin-android
(x2)kotlin-android-extensions
(x24)kotlin-kapt
(x25)kotlin-android-extensions
was not applied by the rootbuild.gradle
, so that had to be done as welldependencies
blocks, with three primary goals