-
Notifications
You must be signed in to change notification settings - Fork 988
[Gradle 8] Update to Gradle 8.13 #530
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
Changes from all commits
337e18d
b6c7548
5e90974
6a78de0
98eb003
d601293
7069251
dffe89f
9f8891c
b9a91e3
1c21b6d
d934b77
3428d2a
f95a302
6032643
91ca49f
9e92ef4
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 +1 @@ | ||
| 11 | ||
| 17 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,11 +3,11 @@ buildscript { | |||||
| 'minSdk': 14, | ||||||
| 'compileSdk': 30, | ||||||
|
|
||||||
| 'kotlin': '1.5.21', | ||||||
| 'kotlin': '2.2.0', | ||||||
| 'autoService': '1.1.1', | ||||||
|
|
||||||
| // Update WrongTimberUsageDetectorTest#innerStringFormatWithStaticImport when >= 7.1.0-alpha07 | ||||||
| 'androidPlugin': '7.0.0', | ||||||
| 'androidPlugin': '8.10.0', | ||||||
| 'androidTools': '30.0.0', | ||||||
|
Owner
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. This version should always be the previous one plus 23
Suggested change
Contributor
Author
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. Unfortunately, making this change is going to be non-trivial. It appears that the lint rules have changed and updating the android tools causes the lint test to fail. I'm investigating how to minimize the LOC of the change, but I think it's going to be reasonably large. I would really prefer to not change tests and these dependency numbers at the same time. My preference (if I was working with HG stacks and Phabricator) would be to have this be one diff, and the next diff on the stack would be the test fixes and the tools number bump. We could then review and have CI test each revision individually, and land the stack as a single unit. If this is possible in Git I'm unaware of how to do it. For the time being, I'll be making the tools update and the test changes in a follow up PR, and will be awaiting your feedback before fixing this one. |
||||||
| ] | ||||||
|
|
||||||
|
|
@@ -31,7 +31,7 @@ buildscript { | |||||
|
|
||||||
| junit: 'junit:junit:4.13.2', | ||||||
| truth: 'com.google.truth:truth:1.4.4', | ||||||
| robolectric: 'org.robolectric:robolectric:4.6.1', | ||||||
| robolectric: 'org.robolectric:robolectric:4.15.1', | ||||||
| ] | ||||||
|
|
||||||
| repositories { | ||||||
|
|
@@ -43,7 +43,7 @@ buildscript { | |||||
| dependencies { | ||||||
| classpath deps.androidPlugin | ||||||
| classpath deps.kotlin.plugin | ||||||
| classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.2.9' | ||||||
| classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.4.1' | ||||||
| classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2' | ||||||
| classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.9.20' | ||||||
| } | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.5-bin.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip | ||
|
MrMannWood marked this conversation as resolved.
|
||
| networkTimeout=10000 | ||
| validateDistributionUrl=true | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,13 @@ apply plugin: 'org.jetbrains.kotlin.jvm' | |
| apply plugin: 'org.jetbrains.kotlin.kapt' | ||
| apply plugin: 'com.android.lint' | ||
|
|
||
| targetCompatibility = JavaVersion.VERSION_1_8 | ||
| sourceCompatibility = JavaVersion.VERSION_1_8 | ||
| kotlin { | ||
| jvmToolchain(17) | ||
| } | ||
|
Comment on lines
+5
to
+7
Owner
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. Toolchains are bad and I do not want them in use. See this. It's fine to land for now, but I will file an issue to track removal.
Contributor
Author
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. Fixed with https://github.com/MrMannWood/timber/tree/toolchain Will create a PR once the next few land |
||
|
|
||
| lint { | ||
| baseline = file("lint-baseline.xml") | ||
| } | ||
|
|
||
| dependencies { | ||
| compileOnly deps.lint.api | ||
|
|
||
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.
Do we need to do this then?
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.
until AGP plugin is upgraded, yes