-
Notifications
You must be signed in to change notification settings - Fork 872
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 libraries #1299
Update libraries #1299
Changes from 6 commits
2f3458d
135a074
2d2aa10
e843562
e7ad244
87d6064
f389f1f
e925595
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
ext.kotlin_version = '1.4.30' | ||
ext.spotless = "5.7.0" | ||
ext.anvil_version = "2.2.0" | ||
ext.spotless = "5.14.0" | ||
ext.anvil_version = "2.3.3" | ||
|
||
ext.min_sdk = 21 | ||
ext.target_sdk = 29 | ||
|
@@ -16,7 +14,7 @@ buildscript { | |
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:4.1.2' | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:_" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @aitorvs I think this is the way we can avoid having to duplicate the kotlin version in 2 files, but not 100% sure. By executing There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's interesting! I seems it works because the buildscript {
def versionPropsFile = file('versions.properties')
Properties versionProps = new Properties()
if (versionPropsFile.canRead()) {
versionProps.load(new FileInputStream(versionPropsFile))
}
ext.kotlin_version = versionProps['version.kotlin']
... |
||
classpath "com.diffplug.spotless:spotless-plugin-gradle:$spotless" | ||
classpath "com.squareup.anvil:gradle-plugin:$anvil_version" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,21 +20,21 @@ version.androidx.recyclerview=1.2.1 | |
|
||
version.androidx.core=1.6.0 | ||
|
||
version.androidx.fragment=1.2.5 | ||
version.androidx.fragment=1.3.5 | ||
|
||
version.androidx.legacy=1.0.0 | ||
|
||
version.androidx.lifecycle=2.4.0-alpha01 | ||
|
||
version.androidx.room=2.2.6 | ||
version.androidx.room=2.3.0 | ||
|
||
version.androidx.swiperefreshlayout=1.1.0 | ||
|
||
version.androidx.test=1.4.0-beta02 | ||
|
||
version.androidx.webkit=1.3.0 | ||
version.androidx.webkit=1.4.0 | ||
|
||
version.androidx.work=2.4.0 | ||
version.androidx.work=2.5.0 | ||
|
||
version.androidx.security=1.1.0-alpha03 | ||
|
||
|
@@ -64,17 +64,17 @@ version.io.reactivex.rxjava2..rxandroid=2.0.2 | |
|
||
version.io.reactivex.rxjava2..rxjava=2.2.9 | ||
|
||
version.kotlin=1.4.10 | ||
version.kotlin=1.5.20 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we maybe remove the one we have in the main |
||
|
||
version.kotlinx.coroutines=1.5.0 | ||
|
||
version.leakcanary=2.7 | ||
|
||
version.okhttp3=4.9.0 | ||
version.okhttp3=4.9.1 | ||
|
||
version.org.apache.commons..commons-math3=3.6.1 | ||
|
||
version.mockito=3.4.6 | ||
version.mockito=3.10.0 | ||
|
||
version.retrofit2=2.9.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.
Currently,
spy
is not supported on API < 24mockito/mockito#2075 (comment)