Commit Graph

1054 Commits

Author SHA1 Message Date
renovate[bot]
cb791e3008 Update dependency gradle to v8.0.2 2023-03-04 04:21:40 +00:00
Jake Wharton
ef238535df Merge pull request #1636 from square/renovate/com.diffplug.spotless-6.x
Update plugin spotless to v6.16.0
2023-02-27 19:18:45 -05:00
renovate[bot]
cac1796747 Update plugin spotless to v6.16.0 2023-02-27 23:55:31 +00:00
renovate[bot]
8a098d6a07 Update dependency gradle to v8 (#1630)
* Update dependency gradle to v8

* Remove VERSION_CATALOGS feature

* Match JDK 19 in toolchain

* Update forces + fix japicmp version

* ???

* Another

* Update japicmp

* Update shadow plugin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
2023-02-25 18:36:04 +00:00
Jake Wharton
1ddcb6406d Merge pull request #1608 from square/renovate/gradle-7.x
Update dependency gradle to v7.6.1
2023-02-24 11:16:37 -05:00
renovate[bot]
9d6d84c45b Update dependency gradle to v7.6.1 2023-02-24 16:07:53 +00:00
Jake Wharton
a13aa33f12 Merge pull request #1629 from square/renovate/com.diffplug.spotless-6.x
Update plugin spotless to v6.15.0
2023-02-10 21:24:39 -05:00
renovate[bot]
bda014ceef Update plugin spotless to v6.15.0 2023-02-10 22:22:47 +00:00
Jake Wharton
e746e69333 Merge pull request #1627 from square/renovate/com.diffplug.spotless-6.x
Update plugin spotless to v6.14.1
2023-02-05 13:14:27 -05:00
renovate[bot]
33399993a9 Update plugin spotless to v6.14.1 2023-02-05 17:58:45 +00:00
renovate[bot]
e6110de8c3 Update plugin spotless to v6.14.0 (#1620)
* Update plugin spotless to v6.14.0

* Update Spotless version and apply

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2023-01-30 14:03:50 +00:00
renovate[bot]
187f9f03b8 Update plugin mavenPublish to v0.24.0 (#1618) 2023-01-29 18:38:10 -05:00
Jake Wharton
6655b70e9e Merge pull request #1621 from square/renovate/major-guava-monorepo
Update dependency com.google.guava:guava to v31
2023-01-29 15:56:10 -05:00
renovate[bot]
390ebc5ff2 Update dependency com.google.guava:guava to v31 2023-01-29 18:33:34 +00:00
Jake Wharton
7a3813fe6b Merge pull request #1619 from square/renovate/com.github.johnrengelman.shadow-7.x
Update plugin mavenShadow to v7.1.2
2023-01-29 10:20:07 -05:00
renovate[bot]
d1adb51542 Update plugin mavenShadow to v7.1.2 2023-01-29 15:10:13 +00:00
Jake Wharton
8999e650a2 Merge pull request #1611 from square/renovate/com.squareup.okio
Update dependency com.squareup.okio:okio to v3.3.0
2023-01-29 07:51:19 -05:00
Jake Wharton
c83453b0e7 Merge pull request #1616 from square/renovate/org.jetbrains.dokka-1.x
Update plugin dokka to v1.7.20
2023-01-29 07:50:52 -05:00
renovate[bot]
7cce7a0ad4 Update plugin dokka to v1.7.20 2023-01-29 12:37:54 +00:00
Jake Wharton
2e164740c4 Merge pull request #1613 from square/renovate/org.ow2.asm
Update dependency org.ow2.asm:asm to v9.4
2023-01-29 06:26:44 -05:00
Jake Wharton
3c510d724b Merge pull request #1612 from square/renovate/org.assertj
Update dependency org.assertj:assertj-core to v3.24.2
2023-01-29 06:26:29 -05:00
renovate[bot]
ae8323d624 Update dependency org.ow2.asm:asm to v9.4 2023-01-29 10:28:43 +00:00
renovate[bot]
db20e767a5 Update dependency org.assertj:assertj-core to v3.24.2 2023-01-29 10:28:38 +00:00
renovate[bot]
d4f208bd61 Update dependency com.squareup.okio:okio to v3.3.0 2023-01-29 07:44:04 +00:00
Jake Wharton
c7c16a619d Merge pull request #1609 from square/renovate/com.google.auto
Update dependency com.google.auto:auto-common to v1.2.1
2023-01-28 23:33:41 -05:00
renovate[bot]
429938ad62 Update dependency com.google.auto:auto-common to v1.2.1 2023-01-29 04:28:06 +00:00
Jake Wharton
73a803cbfd Merge pull request #1605 from square/renovate/autoservice
Update dependency com.google.auto.service:auto-service-annotations to v1.0.1
2023-01-28 23:07:48 -05:00
Jake Wharton
92092ed3b9 Merge pull request #1606 from square/renovate/kotlincompiletesting
Update kotlinCompileTesting to v1.4.9
2023-01-28 23:07:42 -05:00
renovate[bot]
e499a40a16 Update kotlinCompileTesting to v1.4.9 2023-01-29 04:02:02 +00:00
renovate[bot]
b8e1affe38 Update dependency com.google.auto.service:auto-service-annotations to v1.0.1 2023-01-29 04:01:57 +00:00
Jake Wharton
60826d9074 Merge pull request #1604 from square/renovate/configure
Configure Renovate
2023-01-28 23:01:12 -05:00
renovate[bot]
3e9d7b9580 Add renovate.json 2023-01-29 03:57:30 +00:00
Jake Wharton
776f69f625 Merge pull request #1602 from valfirst/jdk-19
[CI] Bump JDK from `18` to `19`
2023-01-25 07:08:21 -05:00
Valery Yatsynovich
72bbf2ee4b [CI] Bump JDK from 18 to 19
JDK 18 is reached EOL.
2023-01-25 12:24:50 +03:00
Jake Wharton
d04f225ce4 Merge pull request #1601 from valfirst/use-built-in-caching
[CI] Use built-in caching from `setup-java` action
2023-01-22 22:30:42 -05:00
Valery Yatsynovich
804e830b3e [CI] Use built-in caching from setup-java action
https://github.com/actions/setup-java#caching-packages-dependencies:
> `setup-java` action has a built-in functionality for caching and restoring dependencies. It uses actions/cache under hood for caching dependencies but requires less configuration settings.
2023-01-23 01:59:05 +03:00
Zac Sweers
6f9223af8c Add more 1.14.0 changelog notes (#1575) 2022-09-06 23:41:39 -04:00
Jesse Wilson
c9f8c56efc Update changelog for 1.14.0 2022-09-06 14:36:42 -04:00
Michael Bailey
a6dd821990 Suppress warning in generated code (#1547) 2022-07-15 11:19:51 -04:00
Michael Bailey
27518bd4da Next version will be 2.x (#1552) 2022-06-29 09:17:07 -04:00
Zac Sweers
53bb46c208 Remove redundant opt-in flags (#1544)
* Remove "-opt-in=com.squareup.kotlinpoet.ksp.KotlinPoetKspPreview"

Unused now

* Remove redundant -opt-in=RequiresOptIn
2022-06-13 17:11:29 -04:00
Zac Sweers
e95af32df8 Update dependencies + Kotlin 1.7 + KotlinPoet 1.12.0 (#1543) 2022-06-13 17:02:27 -04:00
Zac Sweers
256d7b72aa Comment about KSP version (#1526) 2022-03-18 13:44:23 -04:00
Zac Sweers
fd128875c3 Remove a couple leftover TODOs (#1513) 2022-01-23 18:47:25 -05:00
Zac Sweers
2c9e3d036a Convert LinkedHashTreeMap to Kotlin (#1508)
* Initial pass at converting LinkedHashTreeMap to Kotlin

* Update tests as needed

* Remove Arrays use

* Separate find nullability

* Clean up a few expression bodies

* Various little cleanups and warnings

* Sprinkle in some knownNotNulls where useful

* add() is not implemented

* clean up some visibility and properties that can be fields

* Some minor formatting

* Some minor formatting
2022-01-23 18:03:25 -05:00
Zac Sweers
b2a67760d4 Explicitly denote util public APIs in japicmp (#1511) 2022-01-21 17:22:13 -05:00
Zac Sweers
c5e98e5be8 Small cleanups from a few past PRs (#1509) 2022-01-20 10:23:22 -05:00
Zac Sweers
c5be69a93c Tighten up visibility of APIs in Util.kt (#1510) 2022-01-20 10:22:52 -05:00
Spencer Griffin
9e5fc24f4f Convert ClassJsonAdapter to kotlin (#1470) 2022-01-19 00:25:06 -05:00
Spencer Griffin
57df98b9b1 Convert AdapterMethodsFactory.java to kotlin (#1467)
* Rename AdapterMethodsFactory from java to kt

* Convert AdapterMethodsFactory.java to AdapterMethodsFactory.kt

* Make kotlin more idiomatic

* Use forEach loop

* Spotless

* More idiomatic kotlin

* Inline toString

* Address comments from PR

* Address comments in PR review

* Spotless

* Use templated string for error message

* Add japicmp exclusion for internal AdapterMethodsFacotry#get method

* Convert if to when

* Convert if to when

* Use templated strings

* Replace forEach with for loop

* Simplify expression

* Add local val to avoid cast

* Update moshi/src/main/java/com/squareup/moshi/AdapterMethodsFactory.kt

Co-authored-by: Zac Sweers <pandanomic@gmail.com>

* Better variable names

* Exclude entire AdapterMethodsFactory class in japicmp

* Update moshi/src/main/java/com/squareup/moshi/AdapterMethodsFactory.kt

Co-authored-by: Zac Sweers <pandanomic@gmail.com>

* Update moshi/src/main/java/com/squareup/moshi/AdapterMethodsFactory.kt

Co-authored-by: Zac Sweers <pandanomic@gmail.com>

* Update moshi/src/main/java/com/squareup/moshi/AdapterMethodsFactory.kt

Co-authored-by: Zac Sweers <pandanomic@gmail.com>

* Update moshi/src/main/java/com/squareup/moshi/AdapterMethodsFactory.kt

Co-authored-by: Zac Sweers <pandanomic@gmail.com>

* Import knownNotNull

* Add requireNull in Util to create error message

* Rename argument

* Convert error message to raw string

* Use generateSequence to iterate through the superclasses

* Use it rather than complicated name

* Rename requireNull to checkNull, and remove contract

* Fix tests since error type changed

* Update moshi/src/main/java/com/squareup/moshi/internal/Util.kt

Co-authored-by: Spencer Griffin <sgriffin@ancestry.com>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
2022-01-18 22:45:42 -05:00