Skip to content

Commit

Permalink
Update dependency com.squareup:kotlinpoet to v1.17.0 (sqldelight#5272)
Browse files Browse the repository at this point in the history
* Update dependency com.squareup:kotlinpoet to v1.17.0

* Formatting

* One more

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
  • Loading branch information
renovate[bot] and JakeWharton authored May 29, 2024
1 parent a2b5696 commit 06da7d5
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 20 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ androidx-paging3-runtime = { module = "androidx.paging:paging-runtime", version.
androidx-recyclerView = { module = "androidx.recyclerview:recyclerview", version = "1.3.2" }
android-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" }

kotlinPoet = { module = "com.squareup:kotlinpoet", version = "1.16.0" }
kotlinPoet = { module = "com.squareup:kotlinpoet", version = "1.17.0" }
junit = { module = "junit:junit", version = "4.13.2" }
jgrapht = { module = "org.jgrapht:jgrapht-core", version = "1.5.2" }
truth = { module = "com.google.truth:truth", version = "1.4.2" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ private class TestDatabaseImpl(
driver: SqlDriver,
playerAdapter: Player.Adapter,
teamAdapter: Team.Adapter,
) : TransacterImpl(driver), TestDatabase {
) : TransacterImpl(driver),
TestDatabase {
override val groupQueries: GroupQueries = GroupQueries(driver)

override val playerQueries: PlayerQueries = PlayerQueries(driver, playerAdapter)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ class QueriesTypeTest {
| driver: SqlDriver,
| data_Adapter: Data_.Adapter,
| otherAdapter: Other.Adapter,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| override val dataQueries: DataQueries = DataQueries(driver, data_Adapter, otherAdapter)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down Expand Up @@ -264,7 +265,8 @@ class QueriesTypeTest {
|private class TestDatabaseImpl(
| driver: SqlDriver,
| data_Adapter: Data_.Adapter,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| override val dataQueries: DataQueries = DataQueries(driver, data_Adapter)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down Expand Up @@ -362,7 +364,8 @@ class QueriesTypeTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -442,7 +445,8 @@ class QueriesTypeTest {
|private class TestDatabaseImpl(
| driver: SqlDriver,
| data_Adapter: Data_.Adapter,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| override val dataQueries: DataQueries = DataQueries(driver, data_Adapter)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down Expand Up @@ -598,7 +602,8 @@ class QueriesTypeTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| override val searchQueries: SearchQueries = SearchQueries(driver)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -141,7 +142,8 @@ class QueryWrapperTest {
| driver: SqlDriver,
| test_table2Adapter: Test_table2.Adapter,
| test_tableAdapter: Test_table.Adapter,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| override val testQueries: TestQueries = TestQueries(driver, test_tableAdapter, test_table2Adapter)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down Expand Up @@ -219,7 +221,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -313,7 +316,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -399,7 +403,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -483,7 +488,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -558,7 +564,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down Expand Up @@ -654,7 +661,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 3
Expand Down Expand Up @@ -770,7 +778,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| override val queryQueries: QueryQueries = QueryQueries(driver)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down Expand Up @@ -883,7 +892,8 @@ class QueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), TestDatabase {
|) : TransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
| override val version: Long
| get() = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ class AsyncQueriesTypeTest {
| driver: SqlDriver,
| data_Adapter: Data_.Adapter,
| otherAdapter: Other.Adapter,
|) : SuspendingTransacterImpl(driver), TestDatabase {
|) : SuspendingTransacterImpl(driver),
| TestDatabase {
| override val dataQueries: DataQueries = DataQueries(driver, data_Adapter, otherAdapter)
|
| public object Schema : SqlSchema<QueryResult.AsyncValue<Unit>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class AsyncQueryWrapperTest {
|
|private class TestDatabaseImpl(
| driver: SqlDriver,
|) : SuspendingTransacterImpl(driver), TestDatabase {
|) : SuspendingTransacterImpl(driver),
| TestDatabase {
| public object Schema : SqlSchema<QueryResult.AsyncValue<Unit>> {
| override val version: Long
| get() = 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ class MigrationTest {
"""
|private class DatabaseImpl(
| driver: SqlDriver,
|) : TransacterImpl(driver), Database {
|) : TransacterImpl(driver),
| Database {
| override val testQueries: TestQueries = TestQueries(driver)
|
| public object Schema : SqlSchema<QueryResult.Value<Unit>> {
Expand Down

0 comments on commit 06da7d5

Please sign in to comment.