Skip to content

Commit

Permalink
chore: upgrade kotlinpoet, and pg. add jvm 16 to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdabir committed Sep 6, 2021
1 parent 52391fb commit 8dc8ae2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
java: [11,16]

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ subprojects {
implementation platform('org.jetbrains.kotlin:kotlin-bom')
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'

testImplementation 'org.testcontainers:postgresql:1.15.2'
testImplementation 'org.testcontainers:postgresql:1.16.0'
testImplementation 'org.postgresql:postgresql:42.2.23'

testImplementation 'io.kotest:kotest-runner-junit5-jvm:4.6.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import norm.Query
import norm.RowMapper
import org.postgresql.util.PGobject

public class FooParams
public class FooParams()

public class FooParamSetter : ParamSetter<FooParams> {
public override fun map(ps: PreparedStatement, params: FooParams): Unit {
Expand Down
2 changes: 1 addition & 1 deletion cli/src/test/resources/gen/empty-params-class.expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import norm.ParamSetter
import norm.Query
import norm.RowMapper

public class FooParams
public class FooParams()

public class FooParamSetter : ParamSetter<FooParams> {
public override fun map(ps: PreparedStatement, params: FooParams): Unit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import norm.ParamSetter
import norm.Query
import norm.RowMapper

public class FooParams
public class FooParams()

public class FooParamSetter : ParamSetter<FooParams> {
public override fun map(ps: PreparedStatement, params: FooParams): Unit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import norm.ParamSetter
import norm.Query
import norm.RowMapper

public class FooParams
public class FooParams()

public class FooParamSetter : ParamSetter<FooParams> {
public override fun map(ps: PreparedStatement, params: FooParams): Unit {
Expand Down
2 changes: 1 addition & 1 deletion codegen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
api project(":api")

api 'org.postgresql:postgresql:42.2.19'
implementation 'com.squareup:kotlinpoet:1.7.2'
implementation 'com.squareup:kotlinpoet:1.9.0'

implementation 'org.atteo:evo-inflector:1.3'
implementation 'org.apache.commons:commons-text:1.9'
Expand Down

0 comments on commit 8dc8ae2

Please sign in to comment.